:root{--ink:#20302a;--muted:#7c8a83;--line:#dfe9e2;--canvas:#f4f8f5;--green:#216d58;--green-dark:#164c3e;--mint:#e7f3ed;--shadow:0 18px 44px rgba(26,59,44,.09)}*{box-sizing:border-box}body{margin:0;background:var(--canvas);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC",sans-serif}button,input,textarea{font:inherit}button{cursor:pointer}.app-shell{min-height:100vh;display:grid;grid-template-columns:270px 1fr}.sidebar{display:flex;flex-direction:column;padding:30px 20px;background:#fff;border-right:1px solid var(--line)}.brand{display:flex;align-items:center;gap:10px;padding:0 9px 30px}.brand-mark{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;color:#fff;background:var(--green);font-weight:800}.brand strong{display:block;font-size:19px}.brand span{display:block;margin-top:3px;color:#99a59f;font-size:11px}.upload-button,.primary-button{height:42px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--green);border-radius:7px;color:#fff;background:var(--green);font-size:13px}.upload-button{width:100%;margin-bottom:25px}.upload-button:hover,.primary-button:hover{background:var(--green-dark)}.side-title{display:flex;justify-content:space-between;align-items:center;padding:0 9px 10px;color:#5d6d65;font-size:12px;font-weight:700}.side-title small{color:#a2aea8;font-weight:400}.file-list{display:grid;gap:5px}.file-item{width:100%;display:grid;grid-template-columns:35px minmax(0,1fr);grid-template-rows:auto auto;column-gap:9px;padding:10px 8px;border:0;border-radius:7px;text-align:left;background:transparent}.file-item:hover,.file-item.active{background:#edf6f1}.file-icon{grid-row:1/3;width:32px;height:37px;display:grid;place-items:center;border-radius:5px;color:#fff;background:#769183;font-size:8px;font-weight:800}.file-item:nth-child(3n+1) .file-icon{background:#cf7865}.file-item:nth-child(3n+2) .file-icon{background:#6488b7}.file-item:nth-child(3n) .file-icon{background:#8e7bb7}.file-name{overflow:hidden;color:#3f5048;font-size:12px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.file-state{margin-top:4px;color:#a3afa9;font-size:10px}.file-item.active .file-name{color:var(--green-dark);font-weight:700}.side-tip{margin-top:auto;padding:14px;border:1px solid var(--line);border-radius:7px;background:#fafcfb}.side-tip strong{font-size:11px}.side-tip p{margin:7px 0 0;color:#9aa69f;font-size:10px;line-height:1.6}.file-empty{padding:18px 8px;color:#a0aca6;font-size:12px}.main-content{max-width:1180px;width:100%;margin:0 auto;padding:46px 65px 70px}.topbar{display:flex;justify-content:space-between;gap:20px;margin-bottom:46px}.eyebrow{color:#9aa8a0;font-size:10px;font-weight:800;letter-spacing:.16em}.topbar h1{margin:10px 0 8px;font-size:34px;letter-spacing:-.03em}.topbar p{margin:0;color:var(--muted);font-size:14px}.member{display:flex;align-items:center;gap:8px;color:#5c6d64;font-size:13px}.avatar{width:29px;height:29px;display:grid;place-items:center;border-radius:50%;color:#fff;background:var(--green);font-size:11px;font-weight:700}.workspace{min-height:570px}.empty-view{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:520px;border:1px dashed #c8d9ce;border-radius:10px;background:rgba(255,255,255,.5);text-align:center}.empty-mark{width:52px;height:52px;display:grid;place-items:center;margin-bottom:20px;border-radius:14px;color:var(--green);background:#e4f2eb;font-size:25px}.empty-view h2{margin:0 0 9px;font-size:23px}.empty-view p{max-width:390px;margin:0 0 23px;color:var(--muted);font-size:13px;line-height:1.65}.primary-button{padding:0 16px}.result-view{padding-bottom:30px}.result-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:22px}.result-header h2{max-width:720px;margin:9px 0 8px;font-size:23px;line-height:1.3}.result-meta{color:#98a59e;font-size:11px}.secondary-button,.close-button{height:38px;padding:0 13px;border:1px solid var(--line);border-radius:7px;color:#62716a;background:#fff;font-size:12px}.secondary-button:hover{border-color:#a8c8b7;color:var(--green-dark)}.result-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.insight-card{padding:22px;background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:var(--shadow)}.insight-card:first-child{grid-column:1/-1;background:var(--green-dark);color:#fff}.card-label{margin-bottom:14px;color:#8ea49a;font-size:11px;font-weight:700;letter-spacing:.08em}.insight-card:first-child .card-label{color:#b9d5c8}.insight-card h3{margin:0 0 9px;font-size:21px}.insight-card p{margin:0;color:#b9cec3;font-size:13px;line-height:1.65}.breakdown{display:grid;gap:14px}.breakdown div{display:grid;grid-template-columns:92px 1fr;gap:14px;padding-bottom:12px;border-bottom:1px solid var(--line)}.breakdown div:last-child{padding-bottom:0;border-bottom:0}.breakdown b{font-size:12px}.breakdown span{color:#73837b;font-size:12px;line-height:1.55}.quote-card blockquote{margin:20px 0 12px;padding-left:14px;border-left:3px solid #d6a063;color:#40534a;font-size:15px;line-height:1.7}.quote-source{color:#a0aba5;font-size:11px}.modal-backdrop{position:fixed;inset:0;display:grid;place-items:center;background:rgba(25,44,36,.3);z-index:4}.modal{width:min(500px,calc(100vw - 30px));padding:24px;background:#fff;border-radius:10px;box-shadow:0 24px 60px rgba(28,48,40,.2)}.modal-head{display:flex;justify-content:space-between;margin-bottom:21px}.modal h3{margin:7px 0 4px;font-size:21px}.modal-head p{margin:0;max-width:370px;overflow:hidden;color:#96a29b;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.close-button{width:30px;padding:0;font-size:20px}.prompt-options{display:grid;gap:8px;margin-bottom:18px}.prompt-option{display:grid;grid-template-columns:28px 1fr 20px;align-items:center;gap:10px;padding:13px 12px;border:1px solid var(--line);border-radius:7px;text-align:left;color:#84918b;background:#fff}.prompt-option:hover,.prompt-option.selected{border-color:#9bc6af;background:#eef8f2}.prompt-option>span{color:#bf8668;font-size:16px;text-align:center}.prompt-option strong{display:block;color:#40524a;font-size:13px}.prompt-option small{display:block;margin-top:4px;color:#9aa69f;font-size:11px}.prompt-option i{color:var(--green);font-style:normal;opacity:0}.prompt-option.selected i{opacity:1}.full{width:100%}.hidden{display:none!important}.toast{position:fixed;left:50%;bottom:26px;z-index:8;transform:translate(-50%,12px);padding:10px 16px;border-radius:6px;color:#fff;background:#243b32;font-size:12px;opacity:0;transition:.2s}.toast.show{transform:translate(-50%,0);opacity:1}
@media(max-width:800px){.app-shell{grid-template-columns:210px 1fr}.main-content{padding:34px 28px}.topbar h1{font-size:29px}.result-grid{grid-template-columns:1fr}.insight-card:first-child{grid-column:auto}}
@media(max-width:620px){.app-shell{display:block}.sidebar{padding:16px;border-right:0;border-bottom:1px solid var(--line)}.brand{padding-bottom:16px}.upload-button{margin-bottom:14px}.side-tip{display:none}.file-list{display:flex;overflow:auto;gap:5px}.file-item{min-width:170px}.main-content{padding:26px 15px}.topbar{display:block;margin-bottom:28px}.member{margin-top:15px}.empty-view{min-height:450px;padding:25px}.result-header{display:block}.result-header .secondary-button{margin-top:14px}.result-header h2{font-size:19px}}
.prompt-settings{width:100%;height:34px;margin:-16px 0 22px;padding:0 12px;border:1px solid var(--line);border-radius:7px;color:#6d7d74;background:#fff;font-size:12px;text-align:left}.prompt-settings span{margin-right:8px;color:#b8795d}.prompt-settings:hover{border-color:#aacdb9;color:var(--green-dark);background:#f5faf7}.saved-prompts{display:grid;gap:7px;max-height:220px;overflow:auto;margin-bottom:16px}.saved-prompt{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 11px;border:1px solid var(--line);border-radius:6px;background:#fbfdfb}.saved-prompt strong{display:block;color:#40524a;font-size:12px}.saved-prompt small{display:block;margin-top:4px;color:#9aa69f;font-size:10px}.saved-prompt button{width:24px;height:24px;padding:0;border:0;border-radius:4px;color:#9aa69f;background:transparent;font-size:17px}.saved-prompt button:hover{color:#b24e41;background:#fff1ef}.prompt-form{display:grid;gap:8px;padding-top:15px;border-top:1px solid var(--line)}.prompt-form input,.prompt-form textarea{width:100%;padding:10px;border:1px solid var(--line);border-radius:6px;outline:0;color:var(--ink);font-size:12px;resize:vertical}.prompt-form input:focus,.prompt-form textarea:focus{border-color:#96c5ac;box-shadow:0 0 0 3px #ebf6ef}
.insight-card pre{margin:0;white-space:pre-wrap;color:#dceee5;font:13px/1.8 inherit}
