:root{font-family:Noto Sans SC,PingFang SC,Microsoft YaHei,sans-serif;color:#26312d;background:#fff;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;font-size:13px}button,textarea,input{font:inherit}button{border:0;cursor:pointer}.app-shell{display:flex;width:100vw;height:100vh;min-height:600px;overflow:hidden;background:#fff}.sidebar{flex:0 0 auto;display:flex;flex-direction:column;color:#3f4a45}.sidebar-left{width:255px;padding:24px 14px 16px;background:#f8f8f5;border-right:1px solid #eceee8}.sidebar-right{width:307px;padding:25px 20px 18px;background:#f7f7f2;border-left:1px solid #eceee8}.brand-row{display:flex;align-items:center;gap:9px;padding:0 10px 28px;font-size:16px;font-weight:700;letter-spacing:.02em;color:#263a31}.brand-mark{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;color:#f6faf5;background:#345d4d}.sidebar-collapse{margin-left:auto}.create-project{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:39px;margin-bottom:27px;border:1px solid #d9e0d8;border-radius:10px;color:#2e5547;background:#fff;font-weight:600}.create-project:hover,.secondary-button:hover{background:#f0f5f0}.section-label{padding:0 10px 10px;color:#84908a;font-size:11px;letter-spacing:.08em}.project-list{display:grid;gap:4px}.project-item{display:flex;align-items:center;gap:11px;width:100%;height:46px;padding:0 10px;border-radius:10px;color:#68736d;background:transparent;text-align:left}.project-item:hover{background:#f0f2ec}.project-item.active{color:#284d3e;background:#e8eee7;font-weight:600}.project-name{flex:1}.project-chevron{color:#6c8a79}.project-avatar{display:grid;place-items:center;flex:0 0 auto;width:27px;height:27px;border-radius:9px;font-size:12px;font-weight:600}.project-avatar.large{width:39px;height:39px;border-radius:12px;font-size:15px}.sage{color:#35604f;background:#d8e5d9}.clay{color:#79584c;background:#eadbd0}.sand{color:#816b3e;background:#eee2bb}.blue{color:#466276;background:#dbe7eb}.sidebar-footer{margin-top:auto;display:grid;gap:15px;padding:15px 10px 0}.footer-link{display:flex;align-items:center;gap:9px;padding:0;color:#68736d;background:transparent;text-align:left}.preview-status{color:#a2aaa4;font-size:11px;white-space:nowrap}.status-dot{display:inline-block;width:6px;height:6px;margin-right:6px;border-radius:50%;background:#b8c5b7}.status-divider{margin:0 4px;color:#c9cec8}.main-workspace{display:flex;flex:1;min-width:0;flex-direction:column;background:#fff}.workspace-header{display:flex;align-items:center;height:72px;padding:0 28px;border-bottom:1px solid #f1f2ee}.workspace-title{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:600;color:#37423d}.preview-chip{padding:4px 8px;border:1px solid #e5eae3;border-radius:6px;color:#8b9790;font-size:10px;font-weight:500}.header-actions{display:flex;gap:5px;margin-left:auto}.icon-button{display:grid;place-items:center;width:31px;height:31px;border-radius:8px;color:#87938c;background:transparent}.icon-button:hover{color:#416653;background:#f0f4ef}.conversation-area{display:flex;justify-content:center;overflow:auto;flex:1;padding:36px 28px}.conversation-content{width:min(720px,100%);margin:auto 0}.conversation-area.has-messages .conversation-content{margin-top:0;margin-bottom:0}.welcome-block{width:min(640px,100%);margin:auto;text-align:center}.welcome-sparkles{display:grid;place-items:center;width:52px;height:52px;margin:0 auto 21px;border:1px solid #dfe9df;border-radius:17px;color:#4f7962;background:#f3f8f1}.welcome-block h1{margin:0 0 10px;color:#2c3d34;font-size:24px;font-weight:600;letter-spacing:-.03em}.welcome-block p{margin:0;color:#89958e;line-height:1.8}.conversation-status{color:#9aa69e;font-size:12px;text-align:center}.message-row{display:flex;margin:12px 0}.message-row.user{justify-content:flex-end}.message-bubble{max-width:78%;padding:11px 14px;border-radius:13px;color:#3e5145;background:#f1f5ef;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}.message-row.user .message-bubble{color:#fff;background:#49745d}.suggestions{display:flex;justify-content:center;gap:8px;margin-top:30px}.suggestions button{display:flex;align-items:center;gap:11px;padding:10px 12px;border:1px solid #edf0eb;border-radius:9px;color:#718079;background:#fcfdfb;font-size:12px}.suggestions button:hover{border-color:#d9e6d9;color:#406451;background:#f7fbf5}.composer-wrap{width:min(720px,calc(100% - 48px));margin:0 auto 25px}.status-line{min-height:18px;margin-bottom:5px;color:#a55d51;font-size:11px;text-align:center}.composer{display:flex;align-items:flex-end;min-height:62px;padding:10px 11px 10px 15px;border:1px solid #dfe5de;border-radius:16px;box-shadow:0 3px 14px #334b3b0a;background:#fff}.composer:focus-within{border-color:#9eb9a2;box-shadow:0 0 0 3px #eaf3e9}.composer textarea{flex:1;min-height:38px;max-height:110px;padding:10px 12px;border:0;outline:0;resize:none;color:#36463c;background:transparent;line-height:1.5}.composer textarea::placeholder{color:#a7b0aa}.composer-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;color:#89958e;background:transparent}.composer-icon:hover{color:#47705a;background:#f2f7f1}.composer-actions{display:flex;align-items:center;gap:2px}.send-button{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;color:#fff;background:#49745d}.send-button:hover{background:#365f4a}.retry-button{display:block;margin:8px auto 0;padding:5px 9px;border-radius:7px;color:#a55d51;background:#fff5f2;font-size:11px}.disclaimer{margin-top:9px;color:#b2bab4;font-size:10px;text-align:center}.right-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}.right-header h2{margin:0;color:#3b4841;font-size:15px;font-weight:600}.project-card{display:flex;gap:12px;padding:14px;border:1px solid #ebeee8;border-radius:12px;background:#fff}.project-card h3{margin:1px 0 6px;color:#46524c;font-size:13px;font-weight:600}.project-card p{margin:0;color:#9aa49e;font-size:11px;line-height:1.65}.file-label{display:flex;justify-content:space-between;margin-top:28px;padding-bottom:9px}.file-label span{color:#a5aea7;font-size:11px}.file-list{display:grid;gap:3px}.file-item{display:flex;align-items:center;gap:9px;width:100%;padding:10px 9px;border-radius:8px;color:#69766e;background:transparent;text-align:left}.file-item:hover,.file-item.selected{color:#416451;background:#ebf1e9}.empty-files{padding:12px 9px;color:#a6afa8;font-size:12px}.file-detail{margin-top:14px;padding:13px;border:1px solid #e1e9df;border-radius:10px;background:#fbfdf9}.detail-heading{display:flex;align-items:center;gap:7px;color:#4b6654;font-size:12px;font-weight:600}.detail-close{display:grid;place-items:center;width:20px;height:20px;margin-left:auto;color:#9ca8a0;background:transparent}.file-detail p{margin:9px 0 0;color:#8b978f;font-size:11px;line-height:1.7}.field-notes{display:flex;align-items:center;gap:9px;width:100%;margin-top:auto;padding:13px 8px 2px;border-top:1px solid #e9ece5;color:#66736b;background:transparent;text-align:left}.demo-label{margin-left:auto;color:#adb5ae;font-size:10px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;z-index:5;background:#27382d32}.modal{width:min(380px,calc(100vw - 40px));padding:22px;border:1px solid #e4e9e2;border-radius:15px;box-shadow:0 18px 50px #2036291f;background:#fff}.modal-top{display:flex;align-items:center;justify-content:space-between}.modal h2{margin:0;color:#304237;font-size:16px}.modal p{margin:9px 0 18px;color:#919c94;font-size:12px}.modal input{width:100%;padding:11px 12px;border:1px solid #dce5dc;border-radius:9px;outline:0;color:#3c5143}.modal input:focus{border-color:#91b098;box-shadow:0 0 0 3px #edf5ec}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.secondary-button,.primary-button{padding:9px 14px;border-radius:8px;font-size:12px}.secondary-button{color:#617067;background:#f5f7f3}.primary-button{color:#fff;background:#477259}.primary-button:hover{background:#365f4a}.toast{position:fixed;left:50%;bottom:28px;z-index:10;padding:10px 15px;border:1px solid #dce9db;border-radius:9px;color:#46614e;background:#f7fcf5;box-shadow:0 8px 25px #334b3b18;transform:translate(-50%);font-size:12px}@media(max-width:900px){.sidebar-right{width:270px}.suggestions{flex-direction:column;align-items:stretch;max-width:330px;margin-inline:auto}.suggestions button{justify-content:space-between}}@media(max-width:700px){.app-shell{min-height:100vh}.sidebar-left{position:absolute;inset:0 auto 0 0;z-index:4;width:min(290px,88vw);box-shadow:12px 0 25px #24382b16}.sidebar-right{display:none}.workspace-header{padding:0 15px;height:62px}.conversation-area{padding:20px 18px}.welcome-block h1{font-size:21px}.composer-wrap{width:calc(100% - 28px);margin-bottom:16px}.header-only{display:none}}button:disabled,textarea:disabled{cursor:not-allowed;opacity:.56}.empty-workspace{padding:13px 10px;border:1px dashed #dce4da;border-radius:10px;color:#9aa69e;background:#fbfcfa;font-size:11px;line-height:1.8}.active-dot{background:#6e9b7a}.auth-page{display:grid;place-items:center;min-height:100vh;padding:24px;background:#f8faf7}.auth-card{width:min(420px,100%);padding:31px 32px 32px;border:1px solid #e2e9e1;border-radius:18px;background:#fff;box-shadow:0 16px 45px #334b3b12}.auth-brand{display:flex;align-items:center;gap:9px;color:#294436;font-size:15px;font-weight:700}.auth-icon{display:grid;place-items:center;width:52px;height:52px;margin:38px auto 20px;border:1px solid #dfe9df;border-radius:17px;color:#4f7962;background:#f3f8f1}.auth-eyebrow{margin:0 0 8px;color:#718178;font-size:11px;letter-spacing:.08em;text-align:center}.auth-card h1{margin:0;color:#2c3d34;font-size:24px;font-weight:600;letter-spacing:-.03em;text-align:center}.auth-note{margin:12px 0 25px;color:#89958e;font-size:12px;line-height:1.8;text-align:center}.auth-label{display:grid;gap:8px;margin-top:14px;color:#5e6d64;font-size:12px}.auth-label input{width:100%;padding:12px;border:1px solid #dce5dc;border-radius:9px;outline:0;color:#3c5143;background:#fff}.auth-label input:focus{border-color:#91b098;box-shadow:0 0 0 3px #edf5ec}.auth-actions{display:grid;gap:8px;margin-top:20px}.auth-submit{width:100%}.auth-error{margin:13px 0 0;color:#a55d51;font-size:12px;line-height:1.6}.auth-countdown{margin:12px 0 0;color:#8f9a92;font-size:11px;text-align:center}.auth-loading h1{margin-top:0;font-size:20px}.logout-button{position:fixed;top:20px;right:20px;z-index:3;padding:8px 11px;border:1px solid #e2e8e1;border-radius:8px;color:#7b8980;background:#fff;font-size:11px}.logout-button:hover{color:#416653;border-color:#cbdacb}
