:root{--bg:#f7f8fa;--ink:#182329;--muted:#627078;--line:#e3e8e8;--green:#166653;--soft:#e9f3ee;--white:#fff;--purple:#7560ad}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.6 "Segoe UI","Microsoft YaHei",sans-serif}button,input,select,textarea{font:inherit}button,a,select{cursor:pointer}button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:9px 15px;border:1px solid var(--line);border-radius:8px;background:white;color:var(--ink);transition:background .15s}button:hover{background:#f0f4f2}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #56ad98;outline-offset:3px}button.primary{background:var(--green);color:white;border-color:var(--green)}button.primary:hover{background:#104e40}.quiet{border:0;background:none;color:var(--muted)}.icon{width:20px;height:20px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}a{color:var(--green);text-decoration:none}h1,h2,h3,p{margin:0}h1{font-size:29px;font-weight:650;letter-spacing:-.8px}h2{font-size:18px;font-weight:650}h3{font-size:16px}p{color:var(--muted)}.sidebar{position:fixed;inset:0 auto 0 0;width:232px;background:#f0f3f1;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:28px 17px;z-index:20}.brand{display:flex;gap:11px;align-items:center;padding:0 10px 30px;font-size:20px;font-weight:700}.brand-mark{width:34px;height:34px;border-radius:10px;background:var(--green);color:white;display:grid;place-items:center}.brand small{display:block;font-size:10px;letter-spacing:2px;font-weight:500;color:var(--muted)}.nav-label{color:#68766f;font-size:11px;letter-spacing:1.4px;padding:23px 14px 8px}.nav{display:flex;flex-direction:column;gap:5px}.nav a{color:#51605a;display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:8px}.nav a:hover{background:#e7ece8}.nav a.active{background:#dce9e2;color:#155642;font-weight:600}.nav a span.count{margin-left:auto;font-size:11px;background:#fff9;padding:0 6px;border-radius:4px}.side-bottom{margin-top:auto}.side-card{border:1px solid #dce3de;padding:14px;border-radius:9px;margin:24px 4px 16px;background:#ffffff70;font-size:12px}.side-card strong{display:block;margin-bottom:5px}.avatar{border-radius:50%;width:34px;height:34px;background:#dce5e0;display:grid;place-items:center;font-size:12px;font-weight:600}.profile{display:flex;gap:10px;align-items:center;padding:6px 10px}.profile small{display:block;color:var(--muted)}.main{margin-left:232px;min-height:100vh}.topbar{height:76px;border-bottom:1px solid var(--line);background:#ffffffbd;display:flex;justify-content:space-between;align-items:center;padding:0 40px}.crumb{color:var(--muted);font-size:13px;display:flex;align-items:center;gap:12px}.top-actions{display:flex;align-items:center;gap:14px}.badge{display:inline-flex;align-items:center;gap:6px;font-size:11px;padding:3px 9px;border-radius:5px;background:var(--soft);color:#29644f;font-weight:500;white-space:nowrap}.badge.demo{background:#fbf1dc;color:#805d23}.badge.purple{background:#f0ebf8;color:#6b5197}.badge.gray{background:#f0f2f4;color:#657078}.content{max-width:1450px;margin:auto;padding:34px 40px 60px}.page-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.page-head p{margin-top:7px}.eyebrow{font-size:11px;letter-spacing:2px;color:var(--green);font-weight:600;margin-bottom:9px}.hero{position:relative;border:1px solid #dce9e0;background:linear-gradient(110deg,#edf5ed,#f7faf5);border-radius:13px;padding:33px 35px;overflow:hidden;margin-bottom:26px}.hero h1{font-size:32px}.hero p{margin:10px 0 22px;max-width:530px}.hero-art{position:absolute;right:40px;top:13px;width:230px;height:180px;opacity:.75;pointer-events:none}.hero-art .ring{position:absolute;width:136px;height:136px;top:20px;left:40px;border:1px solid #bed4c5;transform:rotate(35deg);border-radius:28px}.hero-art .ring:nth-child(2){transform:rotate(65deg);background:#e1ecdc70}.hero-art .ring:nth-child(3){transform:rotate(95deg)}.hero-art .center{position:absolute;inset:53px 76px;display:grid;place-items:center;font-size:43px;color:var(--green)}.grid{display:grid;gap:18px}.grid.four{grid-template-columns:repeat(4,1fr)}.grid.three{grid-template-columns:repeat(3,1fr)}.grid.two{grid-template-columns:repeat(2,1fr)}.stat{background:white;border:1px solid var(--line);border-radius:10px;padding:18px 21px}.stat-top{display:flex;justify-content:space-between;color:var(--muted);font-size:12px}.stat strong{display:block;font-size:29px;margin:8px 0 1px;font-weight:600}.stat small{color:var(--muted);font-size:11px}.section-title{display:flex;justify-content:space-between;align-items:center;margin:28px 0 14px}.card{border:1px solid var(--line);border-radius:10px;background:white;padding:23px}.card.action{cursor:pointer;text-align:left;display:block;width:100%;min-height:170px}.card.action:hover{border-color:#a3c5b5;background:#fcfefc}.tile-icon{width:38px;height:38px;border-radius:9px;background:var(--soft);color:var(--green);display:grid;place-items:center;margin-bottom:16px}.tile-icon.blue{color:#3d7198;background:#eef4fa}.tile-icon.purple{color:#8060a2;background:#f2edf7}.card p{font-size:12px;margin-top:7px;line-height:1.8}.card-foot{display:flex;justify-content:space-between;align-items:center;margin-top:22px;color:var(--muted);font-size:12px}.panel{border:1px solid var(--line);border-radius:10px;background:white;overflow:hidden}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{background:#fafbfc;color:var(--muted);font-size:12px;font-weight:500;padding:13px 20px;border-bottom:1px solid var(--line)}td{padding:15px 20px;border-bottom:1px solid #edf0f1;font-size:13px}tr:last-child td{border-bottom:0}td small{display:block;color:var(--muted);font-size:11px}.file-name{display:flex;align-items:center;gap:12px}.file-icon{width:32px;height:36px;display:grid;place-items:center;background:#edf3fa;color:#4776a4;font-size:10px;font-weight:700;border-radius:5px}.file-icon.pptx{background:#fbefe8;color:#b56839}.file-icon.xlsx{background:#eaf5ed;color:#357c50}.toolbar{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:20px}.tabs{display:flex;gap:5px}.tabs button{border:none;background:none;color:var(--muted);min-height:38px}.tabs button.active{background:var(--soft);color:var(--green);font-weight:600}.search{position:relative;max-width:290px;width:100%}.search input{padding-left:36px}.search svg{position:absolute;left:11px;top:12px;width:17px;color:var(--muted)}input,select,textarea{width:100%;border:1px solid #d9e1df;border-radius:7px;background:white;color:var(--ink);padding:10px 12px;min-height:42px}textarea{resize:vertical;min-height:110px}label{display:block;font-size:12px;font-weight:600;margin-bottom:7px}.field{margin-bottom:19px}.hint{font-size:12px;color:var(--muted);margin-top:6px}.notice{display:flex;gap:10px;align-items:flex-start;background:#f2f6f4;border:1px solid #e0e9e3;padding:13px 16px;border-radius:8px;font-size:12px;color:#52665b;margin-bottom:22px}.notice.warning{background:#fff9ee;border-color:#f0e3c8;color:#80642c}.empty{padding:55px 20px;text-align:center;color:var(--muted)}.stepper{display:flex;gap:0;margin:6px 0 26px}.stepper button{flex:1;border:0;border-radius:0;background:none;border-bottom:2px solid var(--line);color:var(--muted);font-size:12px;padding:13px 6px}.stepper button.active{color:var(--green);border-color:var(--green);font-weight:600}.split{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px}.guide{background:#f2f6f2;border:1px solid #e0e8df;border-radius:10px;padding:22px;height:fit-content}.guide h3{font-size:14px}.guide p{font-size:12px;margin-top:12px;line-height:1.9}.guide .number{width:24px;height:24px;display:inline-grid;place-items:center;background:white;border:1px solid var(--line);border-radius:50%;margin-right:7px}.form-card{padding:26px}.form-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}.field-table{white-space:normal}.field-table td,.field-table th{padding:10px}.field-table input,.field-table select{font-size:12px;min-width:95px}.field-table input.wide{min-width:200px}.code{font:12px/1.8 Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;background:#f7f9fa;padding:18px;border-radius:8px;color:#4a6057;max-height:300px;overflow:auto}.chat-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:24px}.chat-main{min-height:650px;display:flex;flex-direction:column}.chat-welcome{padding:52px 20px 38px;text-align:center}.spark{margin:0 auto 20px;width:56px;height:56px;border-radius:16px;display:grid;place-items:center;background:#e4eee5;color:var(--green)}.spark svg{width:29px;height:29px}.chat-welcome h1{font-size:28px;margin-bottom:9px}.suggestions{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:25px auto;max-width:620px}.suggestions button{text-align:left;justify-content:flex-start;padding:14px;font-size:12px}.composer{margin-top:auto;padding:16px;border:1px solid #cfdcd4;border-radius:12px;background:white;box-shadow:0 5px 15px #182f1c05}.composer textarea{border:0;min-height:80px;outline-offset:0;resize:none}.composer-footer{display:flex;justify-content:space-between;align-items:center}.composer-footer small{color:var(--muted);font-size:11px}.chat-context{padding:20px}.chat-context h3{font-size:13px;margin-bottom:15px}.context-item{padding:12px 0;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:9px;font-size:12px}.context-item input{width:16px;min-height:16px;accent-color:var(--green)}.chat-message{margin:12px 0 22px;max-width:95%}.chat-message.user{padding:13px 18px;border-radius:12px 12px 0 12px;background:#eaf0ec;margin-left:auto;width:fit-content;white-space:pre-wrap}.chat-message.assistant{background:white;border:1px solid var(--line);border-radius:12px;padding:23px;line-height:1.9}.chat-message.assistant p{margin-top:10px;color:#465851}.message-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}.message-actions button{font-size:12px}.chart{height:120px;display:flex;align-items:flex-end;gap:22px;border-bottom:1px solid var(--line);margin:20px 0 30px;padding:0 10px}.bar{flex:1;background:#a8c9b3;border-radius:4px 4px 0 0;position:relative;min-width:20px}.bar:last-child{background:#3e8169}.bar span{position:absolute;bottom:-23px;left:0;right:0;text-align:center;font-size:10px;color:var(--muted)}dialog{border:1px solid var(--line);border-radius:14px;box-shadow:0 24px 100px #14332226;padding:0;width:min(680px,calc(100% - 32px));max-height:90vh;color:var(--ink)}dialog::backdrop{background:#142b2460;backdrop-filter:blur(3px)}.modal-head{display:flex;justify-content:space-between;align-items:center;padding:22px 26px;border-bottom:1px solid var(--line)}.modal-body{padding:25px}.modal-head h2{font-size:18px}.modal-head button{min-height:36px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}.check-line{display:flex;gap:8px;align-items:center;margin:12px 0;font-size:13px}.check-line input{width:16px;min-height:16px;accent-color:var(--green)}#toast{position:fixed;left:50%;bottom:26px;transform:translateX(-50%) translateY(100px);padding:13px 22px;border-radius:10px;background:#183c30;color:white;z-index:100;transition:transform .2s;box-shadow:0 5px 20px #0002;max-width:90%;font-size:13px}#toast.show{transform:translateX(-50%) translateY(0)}.mobile-menu{display:none}.permission-table input{width:17px;min-height:17px;accent-color:var(--green)}.permission-table td:not(:first-child){text-align:center}.permission-table th:not(:first-child){text-align:center}.result-preview h2{font-size:23px;line-height:1.5;margin-bottom:16px}.result-preview h3{margin:22px 0 10px}.result-preview p{line-height:1.9}.pill-row{display:flex;gap:8px;flex-wrap:wrap}.link-btn{border:none;background:transparent;color:var(--green);padding:5px 8px;min-height:36px}.muted{color:var(--muted)}.wrap{white-space:normal}.version{font-size:11px;color:var(--muted)}@media(min-width:1500px){.content{padding-top:45px}.hero{padding:42px}.card.action{min-height:185px}}@media(max-width:1100px){.sidebar{width:200px}.main{margin-left:200px}.content{padding:25px}.topbar{padding:0 25px}.split{grid-template-columns:1fr}.guide{display:none}.grid.three{grid-template-columns:repeat(2,1fr)}.chat-layout{grid-template-columns:1fr}.chat-context{order:-1}.chat-context .context-item{display:inline-flex;margin-right:15px;border:0;padding:5px}.chat-context .hint{display:none}.hero-art{opacity:.35;right:0}.grid.four{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){.sidebar{transform:translateX(-100%);width:232px;transition:transform .2s;box-shadow:10px 0 40px #0001}.sidebar.open{transform:translateX(0)}.main{margin-left:0}.mobile-menu{display:flex}.topbar{height:65px;padding:0 16px}.top-actions .version,.crumb>span{display:none}.content{padding:22px 16px}.page-head{align-items:flex-start}.page-head h1{font-size:24px}.page-head p{font-size:12px}.page-head>button{font-size:12px;white-space:nowrap}.hero{padding:25px}.hero h1{font-size:26px}.hero-art{display:none}.grid.three,.grid.two{grid-template-columns:1fr}.grid.four{gap:10px}.stat{padding:15px}.toolbar{flex-wrap:wrap}.tabs{overflow:auto;max-width:100%}.tabs button{white-space:nowrap}.search{max-width:none}.stepper button{font-size:11px}.form-card{padding:17px}.chat-welcome{padding:25px 0}.suggestions{grid-template-columns:1fr}.chat-main{min-height:550px}.modal-body{padding:18px}.hero p{font-size:13px}.chat-context{padding:15px}.top-actions{gap:5px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
@media(max-width:700px){.crumb{gap:0}.crumb strong{display:none}.top-actions{gap:8px}.top-actions button{white-space:nowrap;padding:7px 9px;font-size:12px}.top-actions .avatar{display:none}.top-actions .badge{font-size:10px}.content>.page-head>.version{display:none}.content>.page-head>.eyebrow{font-size:10px;letter-spacing:1px}}
.console-switch{display:flex;align-items:center;gap:9px;padding:12px;margin-bottom:12px;color:var(--muted);font-size:12px;border-top:1px solid var(--line)}.console-switch .icon:last-child{margin-left:auto;width:15px}.admin-sidebar{background:#eef1f5}.admin-sidebar .brand-mark{background:#475a71}.admin-sidebar .nav a.active{background:#dde5ef;color:#314b66}.admin-label{padding:8px 14px;border:1px solid #d4dde7;border-radius:7px;color:#475a71;font-weight:600}.admin-main .eyebrow{color:#475a71}
