:root{font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:#202522;background:#fff;font-synthesis:none;--green:#173f35;--muted:#727a76;--line:#e5e9e6;--soft:#f5f7f5}*{box-sizing:border-box}body{margin:0;display:flex;min-height:100dvh;font-size:16px}button,input,select,textarea{font:inherit}button,a,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid #387960;outline-offset:3px}button{border:0;background:transparent}a{color:inherit;text-decoration:none}aside{width:264px;background:#f6f7f6;border-right:1px solid var(--line);padding:25px 17px 18px;display:flex;flex-direction:column;height:100dvh;position:sticky;top:0;flex-shrink:0}.brand{display:flex;align-items:center;gap:10px;padding:0 9px 28px}.brand strong{font-size:18px;letter-spacing:.02em}.brand>span{font-size:10px;letter-spacing:.09em;color:#7d8881;margin-left:auto}.new-chat{display:flex;align-items:center;gap:7px;border:1px solid #d9e0db;border-radius:10px;background:white;padding:12px;text-align:left;font-size:14px;font-weight:600}.new-chat>span{font-size:22px;font-weight:400;line-height:1}.new-chat small{font-size:12px;margin-left:auto;color:#89928c;font-weight:400}.side-heading{font-size:12px;color:#89928b;padding:29px 12px 12px;letter-spacing:.07em}#history{overflow-y:auto;flex:1}.history-item{width:100%;text-align:left;display:block;font-size:14px;padding:12px;border-radius:8px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;margin-bottom:3px}.history-item:hover{background:#eaeeeb}.history-item.active{background:#e2ebe5;color:var(--green);font-weight:600}.side-empty{font-size:13px;padding:0 12px;line-height:1.8}.side-bottom{padding:18px 9px 0;border-top:1px solid var(--line);display:flex;align-items:flex-start;gap:9px}.private-note{font-size:13px;line-height:1.4}.private-note small{display:block;color:#939b96;font-size:11px;margin-top:5px}.text-button{font-size:12px;color:#717c75;margin-left:auto;padding:0;white-space:nowrap}main{flex:1;min-width:0;height:100dvh;display:flex;flex-direction:column}header{padding:23px 34px;display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:80px}.header-left,.header-actions{display:flex;align-items:center;gap:12px}.model-name{font-size:17px;font-weight:600;white-space:nowrap}.model-name span{font-weight:400;color:#7b857f;font-size:14px;margin-left:5px}.quota{font-size:12px;color:#929b95;margin-right:10px}.icon-button{width:34px;height:34px;display:inline-grid;place-items:center;border-radius:8px;font-size:22px;flex-shrink:0;line-height:1}.icon-button:hover:not(:disabled){background:#eef2ef}#menu{display:none}.workspace{flex:1;overflow-y:auto;display:flex;flex-direction:column;min-height:0}.workspace.empty{justify-content:center;padding-top:0}.welcome{text-align:center;padding:5px 20px 32px}.welcome-mark{margin-bottom:18px}.welcome h1{font-size:32px;letter-spacing:-.04em;font-weight:600;margin:0 0 13px}.welcome p{color:var(--muted);font-size:15px;margin:0;line-height:1.6}.messages{max-width:840px;width:100%;margin:0 auto;padding:20px 30px 8px;flex:1}.empty .messages{display:none}.composer-area{width:min(100%,900px);margin:0 auto;padding:12px 30px 20px;position:sticky;bottom:0;background:linear-gradient(transparent,#fff 15px);z-index:2}.empty .composer-area{position:relative;margin:0 auto;padding-top:0}.composer{border:1px solid #d8e0da;border-radius:20px;background:#fff;box-shadow:0 5px 24px #25392a09;padding:15px 16px 12px;transition:border-color .2s}.composer:focus-within{border-color:#94b4a3}.composer textarea{width:100%;border:0;background:transparent;resize:none;min-height:58px;max-height:180px;line-height:1.7;padding:3px 3px 10px;color:#24332a;outline:none}.composer textarea::placeholder{color:#8d9791}.composer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px}.options{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.options select{border:0;background:#f6f8f6;color:#59655d;border-radius:7px;padding:8px 22px 8px 9px;font-size:12px;max-width:150px}.attach{border:1px solid #e4e9e5}.send{background:var(--green);color:#fff;width:38px;height:38px;border-radius:11px;font-size:26px;flex-shrink:0}.send:hover:not(:disabled){background:#27604b}.composer-note{text-align:center;color:#8e9691;font-size:11px;margin:11px 0 0}.suggestions{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:27px}.suggestions button{text-align:left;border:1px solid var(--line);border-radius:12px;padding:17px 14px;background:#fff;transition:background .15s}.suggestions button:hover{background:#f7faf8;border-color:#bdcec4}.suggestions span{display:block;font-size:22px;color:#42715b;margin-bottom:12px}.suggestions strong{display:block;font-size:14px;font-weight:500}.suggestions small{display:block;color:#8d968f;font-size:12px;margin-top:7px}.privacy-note{text-align:center;font-size:11px;color:#9aA29d;line-height:1.6;margin:22px 0 0}.reference{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding:0 0 12px;margin-bottom:10px}.reference img{width:52px;height:52px;object-fit:cover;border-radius:8px;border:1px solid var(--line)}.reference strong{font-size:13px;font-weight:500;display:block}.reference small{display:block;font-size:12px;color:var(--muted);margin-top:5px}.reference button{margin-left:auto}.turn{margin:0 0 34px}.user-message{background:#f0f3f1;max-width:90%;width:fit-content;padding:14px 18px;border-radius:18px 18px 3px 18px;line-height:1.8;font-size:15px;white-space:pre-wrap;overflow-wrap:anywhere;margin-left:auto}.user-reference{display:block;width:70px;height:70px;object-fit:cover;border-radius:7px;margin:0 0 10px auto}.assistant-message{margin-top:23px}.assistant-label{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:600;margin-bottom:13px}.assistant-label img{width:23px;height:23px}.generated-image{display:block;max-width:100%;max-height:520px;object-fit:contain;border-radius:12px;background:var(--soft);border:1px solid var(--line)}.result-tools{display:flex;gap:10px;align-items:center;margin-top:12px;flex-wrap:wrap}.result-tools button,.result-tools a{font-size:13px;border:1px solid var(--line);padding:7px 10px;border-radius:7px}.result-tools button:hover,.result-tools a:hover{background:var(--soft)}.result-tools small{font-size:11px;color:var(--muted);margin-left:auto}.pending{border:1px solid var(--line);background:#f8faf8;padding:27px;border-radius:12px;color:#52665a;font-size:14px;line-height:1.8}.pending small{display:block;color:#8a978e;font-size:12px}.spinner{display:inline-block;width:14px;height:14px;border:2px solid #cadbce;border-top-color:#396d50;border-radius:50%;animation:spin 1s linear infinite;margin-right:9px;vertical-align:-2px}.job-error{padding:16px;border:1px solid #f0d4d4;border-radius:10px;color:#97504b;font-size:14px;line-height:1.8;background:#fff9f8}.muted{color:var(--muted)}dialog{border:1px solid #dfe6e1;border-radius:20px;padding:32px;width:min(430px,calc(100% - 32px));box-shadow:0 20px 100px #133d2925;color:#26332b}dialog::backdrop{background:#23332b33;backdrop-filter:blur(4px)}dialog h2{font-size:23px;letter-spacing:-.025em;margin:18px 0 10px}dialog p{font-size:14px;line-height:1.8;color:var(--muted)}dialog label{display:block;font-size:13px;margin:22px 0 9px}dialog input{width:100%;padding:12px;border:1px solid #d7e0d9;border-radius:9px;font-size:15px}dialog small{display:block;text-align:center;font-size:11px;color:#86928a;margin-top:17px}.primary{background:var(--green);color:#fff;border-radius:9px;padding:12px 18px}#login-submit{width:100%;font-size:15px}.error-text{color:#a44239;font-size:13px;min-height:18px}.dialog-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:25px}.dialog-actions>button{padding:10px 18px;border-radius:8px}.dialog-actions>button:first-child{background:var(--soft)}#notice{position:fixed;bottom:25px;left:calc(50% + 100px);transform:translateX(-50%);z-index:20;padding:13px 19px;border-radius:10px;color:white;background:#263b30;box-shadow:0 5px 25px #0002;font-size:14px;max-width:90vw;line-height:1.6}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}[hidden]{display:none!important}.shade{position:fixed;inset:0;background:#142b2460;z-index:4}@keyframes spin{to{transform:rotate(360deg)}}@media(min-height:880px){.workspace.empty{padding-bottom:70px}}@media(max-width:900px){aside{width:225px;padding-left:12px;padding-right:12px}.brand>span{display:none}header{padding:18px 24px}.quota{display:none}.suggestions{gap:8px}.suggestions button{padding:14px 12px}.suggestions small{font-size:11px}.composer-area{padding-left:24px;padding-right:24px}}@media(max-width:640px){aside{position:fixed;left:0;top:0;z-index:5;transform:translateX(-100%);width:265px;transition:transform .18s}aside.open{transform:translateX(0)}#menu{display:inline-grid}header{padding:13px 16px;min-height:64px}.header-left,.header-actions{gap:5px}.model-name{font-size:15px}.model-name span{font-size:12px}.welcome{padding:24px 18px 25px}.welcome h1{font-size:26px}.welcome p{font-size:14px}.welcome-mark{margin-bottom:14px}.composer-area{padding:10px 14px 16px}.messages{padding:10px 18px}.composer{border-radius:16px;padding:12px}.options{gap:5px}.options select{font-size:11px;padding-right:5px;max-width:115px}.suggestions{margin-top:20px;gap:7px}.suggestions button{padding:12px 10px}.suggestions small{line-height:1.6}.suggestions strong{font-size:12px}.suggestions span{margin-bottom:8px}.privacy-note{margin-top:16px;font-size:10px}.workspace.empty{justify-content:flex-start}.welcome{margin-top:8vh}.generated-image{max-height:440px}.user-message{max-width:95%}#notice{left:50%;width:max-content;max-width:90vw}.result-tools small{margin-left:0}.composer-note{font-size:10px}dialog{padding:25px}}@media(prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;transition:none!important}}
.workspace:not(.empty){overflow:hidden}.workspace:not(.empty) .messages{overflow-y:auto;min-height:0;scroll-behavior:smooth}.workspace:not(.empty) .composer-area{position:static;flex-shrink:0;background:#fff}.options select{font-size:14px}.suggestions strong{font-size:14px}@media(max-width:640px){.options select{font-size:12px}.workspace:not(.empty) .privacy-note{display:none}}
