:root{--green:#174b40;--dark:#153e35;--bg:#f8f9f7;--line:#e3e9e4;--muted:#7b8e83;--sage:#eaf1e8;--gold:#c28b57;--red:#ac5343}*{box-sizing:border-box}body{margin:0;color:#233d35;background:var(--bg);font:14px/1.65 'Microsoft YaHei','PingFang SC',sans-serif}button,input,textarea,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button:disabled{opacity:.45;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #b6d4bd;outline-offset:3px}#sidebar{width:230px;position:fixed;inset:0 auto 0 0;background:var(--green);color:#eaf2ed;padding:33px 22px 20px;z-index:20;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:13px;font-size:21px;font-weight:700;margin:0 8px 35px}.brand-icon{font-size:35px;color:#d7e5b6}.brand small{display:block;font-size:11px;font-weight:400;letter-spacing:3px;color:#a9c2b5}nav{display:flex;flex-direction:column;gap:7px}nav a{display:flex;align-items:center;gap:12px;padding:11px 15px;border-radius:9px;color:#b6cbc0;font-size:13px}nav svg{width:18px;height:18px;flex:none}nav a.active{background:#f0f4ed;color:var(--green);font-weight:600}nav a:hover{background:#ffffff12}nav a.active:hover{background:#f0f4ed}.sidebar-bottom{margin-top:auto;border-top:1px solid #ffffff18;padding-top:19px;display:flex;gap:10px;align-items:center;font-size:12px}.sidebar-bottom img{width:35px;height:35px;border-radius:50%;object-fit:cover}.sidebar-bottom small{display:block;color:#a4bdb0;font-size:10px}.main{margin-left:230px}header{height:82px;background:#ffffffb5;border-bottom:1px solid var(--line);padding:0 38px;display:flex;align-items:center;justify-content:space-between;gap:15px}.breadcrumb{font-size:12px;color:var(--muted)}.breadcrumb span{margin:0 12px;color:#bdc9c1}.breadcrumb b{color:#355347;font-weight:500}.head-actions{display:flex;align-items:center;gap:16px}.head-actions img{width:34px;height:34px;border-radius:50%;object-fit:cover}.badge{border:1px solid #dce6da;background:#f0f6ee;color:#61856d;padding:4px 10px;border-radius:20px;font-size:11px}.badge.orange{color:#a37847;background:#fbf3e9;border-color:#f0dfc6}.badge.red{color:var(--red);background:#fff0eb;border-color:#f4dacf}main{max-width:1440px;min-height:calc(100vh - 146px);padding:34px 38px 30px;margin:auto}.page-top{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:25px}.eyebrow{font-size:10px;letter-spacing:2.4px;color:#849a8e;margin-bottom:6px}.page-top h1{font-size:28px;letter-spacing:-1px;margin:0 0 6px;color:#25473a;font-weight:600}.page-top p{color:var(--muted);font-size:12px;margin:0}.button{border:1px solid var(--green);background:var(--green);color:white;border-radius:7px;padding:9px 15px;font-size:12px;display:inline-flex;gap:7px;align-items:center;justify-content:center;min-height:37px}.button svg{width:15px;height:15px}.button.subtle{background:white;border-color:#dce5de;color:#486456}.button.danger{background:#fff4f0;color:var(--red);border-color:#ead0c5}.icon-button{background:none;border:0;color:#7d9587;padding:5px;font-size:18px}.icon-button svg{width:18px;height:18px}.button:hover{filter:brightness(.97)}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:22px}.metric{background:white;border:1px solid var(--line);border-radius:12px;padding:20px 22px}.metric .label{font-size:12px;color:#7c9185;display:flex;align-items:center;justify-content:space-between}.metric .label svg{width:19px;height:19px;color:#acc0aa}.metric strong{font-size:29px;font-weight:600;display:block;margin:8px 0 4px;line-height:1.3}.metric small{font-size:11px;color:#8da092}.metric small b{color:#5c8871;font-weight:500}.dashboard-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:22px}.card{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden}.card-pad{padding:23px}.card-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.card-head h2{margin:0;font-size:15px;font-weight:600}.card-head a{font-size:11px;color:#759482}.hero{background:var(--green);border:none;color:#e6f0e8;padding:25px 27px;border-radius:12px;margin-bottom:22px;position:relative;overflow:hidden}.hero:after{content:'↗';position:absolute;font-size:190px;color:#ffffff06;right:25px;top:-67px}.hero .eyebrow{color:#97b5a4}.hero h2{font-size:21px;font-weight:500;margin:3px 0 7px}.hero p{color:#bad1c3;font-size:12px;margin:0;max-width:650px}.hero .button{background:#dfebdb;color:var(--green);border-color:#dfebdb;margin-top:18px}.pipeline{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-top:21px}.pipeline div{background:#ffffff08;border:1px solid #ffffff14;border-radius:6px;padding:11px;text-align:center;font-size:10px;color:#b8cdbe}.pipeline b{display:block;font-size:21px;color:#edf5e8;font-weight:500}.chart{width:100%;height:186px}.chart-labels{display:flex;justify-content:space-between;font-size:10px;color:#99ac9d;padding:0 10px}.mini-row{border-top:1px solid #edf1ec;padding:13px 0;display:flex;align-items:center;gap:12px}.mini-row:first-child{border-top:0}.mini-row .avatar{height:34px;width:34px;background:#edf3e9;border-radius:7px;display:flex;align-items:center;justify-content:center;color:#69856a;font-weight:600}.mini-row .grow{flex:1;min-width:0}.mini-row b{font-size:12px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mini-row small{font-size:10px;color:#96a598}.progress{background:#eef3eb;height:4px;border-radius:4px;margin-top:8px;overflow:hidden}.progress span{display:block;background:#89ad8a;height:100%}.toolbar{display:flex;gap:12px;justify-content:space-between;align-items:center;margin-bottom:18px}.toolbar .filters{display:flex;gap:10px;align-items:center}.search{position:relative;min-width:245px}.search input{width:100%;padding:10px 12px 10px 36px;border:1px solid #dfe7dd;border-radius:7px;background:white;font-size:12px;outline:none}.search svg{position:absolute;left:12px;top:12px;width:16px;height:16px;color:#a2b2a5}select{border:1px solid #dfe7dd;padding:9px 12px;border-radius:7px;background:white;color:#527361;font-size:12px;max-width:230px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;min-width:700px;font-size:12px;text-align:left}th{background:#f6f8f3;color:#8a9b8c;padding:13px 20px;font-weight:400;border-bottom:1px solid var(--line);white-space:nowrap}td{padding:15px 20px;border-bottom:1px solid #edf1e9;vertical-align:middle}tr:last-child td{border-bottom:0}tbody tr:hover{background:#fbfcf8}td .primary{font-weight:500;color:#345442}td small{display:block;font-size:10px;color:#93a18f;margin-top:3px;max-width:350px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}td .actions{display:flex;gap:7px}td .button{padding:5px 10px;min-height:29px;font-size:11px}.score{display:inline-block;padding:2px 8px;border-radius:4px;color:#648863;background:#edf4e7;font-size:11px}.list-foot{display:flex;justify-content:space-between;align-items:center;padding:14px 20px;font-size:10px;color:#8e9e8e}.empty{padding:65px 20px;text-align:center;color:#859e89}.empty svg{width:40px;height:40px;color:#bdd0ba}.empty strong{display:block;font-size:14px;margin:12px 0 6px;color:#627965}.empty p{font-size:12px;margin:0}.error-box{border:1px solid #edd7c7;background:#fff8f0;padding:20px 25px;border-radius:10px;margin-bottom:20px}.error-box h3{margin:0 0 5px;font-size:15px;color:#967046}.error-box p{font-size:12px;color:#9b805f}.overlay{position:fixed;inset:0;background:#132b2345;z-index:35;backdrop-filter:blur(2px)}.drawer{position:fixed;inset:0 0 0 auto;width:540px;max-width:100vw;background:#fbfcf9;z-index:40;box-shadow:-10px 0 50px #10291e15;overflow-y:auto;padding:26px 28px}.hidden{display:none!important}.drawer-head{display:flex;align-items:start;justify-content:space-between;gap:12px;margin-bottom:24px}.drawer-head h2{margin:0;font-size:20px;font-weight:600;word-break:break-word}.drawer-head p{margin:4px 0 0;color:#899c8b;font-size:11px}.field{margin-bottom:16px}.field label{display:block;font-size:12px;color:#738a77;margin-bottom:6px}.field input,.field textarea,.field select{width:100%;padding:10px 12px;border:1px solid #dae4d6;background:white;border-radius:6px;color:#345440;outline:none;max-width:none}.field input:focus,.field textarea:focus{border-color:#91b08c;box-shadow:0 0 0 3px #edf4e9}.field textarea{resize:vertical;min-height:86px;font-size:12px;line-height:1.7}.field .hint{font-size:10px;color:#99aa95;margin-top:5px}.form-actions{display:flex;gap:10px;justify-content:flex-end;padding-top:16px;border-top:1px solid #e0e8d9;position:sticky;bottom:-28px;background:#fbfcf9;padding-bottom:20px}.message{border:1px solid #e0e8da;padding:16px 18px;border-radius:10px;background:white;margin-bottom:13px}.message.user{background:#eef4e8;border-color:#e4ecd9}.message .role{font-size:10px;color:#98ac90;display:flex;justify-content:space-between;margin-bottom:9px}.message .text{white-space:pre-wrap;font-size:12px;line-height:1.85;overflow-wrap:anywhere}.message .attachment{font-size:11px;color:#6e8765;margin-top:9px;padding:6px 8px;border-radius:4px;background:#f0f4eb}.message .feedback{font-size:10px;color:#8b9e84;margin-top:12px}.drawer .tag-row{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}.event{border-left:2px solid #dce8d4;padding:0 0 16px 18px;font-size:12px}.event small{display:block;color:#99ab90;font-size:10px}.event b{font-weight:500}.event:last-child{padding-bottom:0}.job-actions{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0 24px}.pdf{width:100%;height:520px;border:1px solid #dae4d5;border-radius:7px}.code{white-space:pre-wrap;font:11px/1.8 Consolas,monospace;background:#f1f5ec;border:1px solid #e0e9d6;border-radius:7px;padding:16px;overflow:auto}.info-note{font-size:11px;background:#f1f6eb;padding:12px 15px;border-radius:7px;color:#7e9373;margin:15px 0}.split{display:grid;grid-template-columns:1fr 1fr;gap:22px}.capability{padding:14px 0;border-bottom:1px solid var(--line)}.capability:last-child{border-bottom:0}.capability b{font-size:12px;display:block}.capability small{font-size:11px;color:var(--muted)}dialog{border:1px solid #e4e9db;border-radius:12px;padding:25px;width:390px;box-shadow:0 15px 90px #1c362424;color:#3e5b36}dialog::backdrop{background:#14362140}dialog h3{margin:0;font-size:18px}dialog p{font-size:12px;color:#819376}.dialog-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:24px}#toast{position:fixed;bottom:28px;left:calc(50% + 110px);transform:translateX(-50%);background:#244a35;color:white;box-shadow:0 6px 30px #193e2425;padding:10px 20px;border-radius:8px;font-size:12px;z-index:70;opacity:0;pointer-events:none;transition:opacity .2s}#toast.show{opacity:1}footer{padding:18px 38px;color:#a0ad98;font-size:10px;display:flex;justify-content:space-between;gap:12px}#toggle-nav{display:none}.switch{display:flex;align-items:center;gap:8px;font-size:12px;color:#6f8966}.switch input{accent-color:var(--green)}.skeleton{height:300px;background:linear-gradient(90deg,#eef2e8,#f9fbf7,#eef2e8);background-size:200% 100%;animation:pulse 1.5s infinite;border-radius:12px}@keyframes pulse{to{background-position:-200% 0}}.loading-text{color:#89a079;padding:10px 0}.inline-error{color:var(--red);font-size:12px;padding:9px 0}.count{font-size:10px;color:#98ac8f;padding:3px 8px;background:#f0f4e9;border-radius:4px}.route-note{font-size:11px;color:#8da280;margin:0 0 20px}.top-space{margin-top:22px}#editor-asset{width:100%;max-height:120px;object-fit:contain;margin-bottom:15px}.suggestion-row{border:1px solid #e0e8d8;padding:12px 14px;border-radius:7px;background:#f9fcf5;margin:8px 0;font-size:12px}.muted{color:var(--muted)}
@media(min-width:1600px){main{padding-top:40px}}@media(max-width:1050px){#sidebar{width:200px;padding:30px 16px}.main{margin-left:200px}header,main{padding-left:24px;padding-right:24px}.metric-grid{gap:12px}.metric{padding:16px}.dashboard-grid{grid-template-columns:1fr}.split{grid-template-columns:1fr}.breadcrumb{font-size:10px}}@media(max-width:760px){#sidebar{transform:translateX(-100%);transition:transform .2s;width:230px}#sidebar.open{transform:translateX(0)}.main{margin-left:0}header{height:70px;padding:0 18px}#toggle-nav{display:block}.breadcrumb{display:none}.head-actions{gap:8px}.head-actions img{width:29px;height:29px}main{padding:24px 18px}.page-top h1{font-size:23px}.page-top{gap:10px}.page-top p{max-width:260px;font-size:11px}.page-top .button{padding:8px 10px}.metric-grid{grid-template-columns:1fr 1fr}.metric strong{font-size:25px}.metric small{font-size:9px}.toolbar{align-items:stretch;flex-direction:column}.toolbar .filters{flex-wrap:wrap}.search{min-width:0;flex:1}.drawer{width:100%;padding:23px 20px}#toast{left:50%;max-width:90%}footer{padding:18px;font-size:9px}footer span{display:none}.hero{padding:21px}.hero h2{font-size:19px}.pipeline{gap:5px}.pipeline div{padding:8px 3px}}

.pdf-preview{background:#edf1e9;border:1px solid #dce4d5;border-radius:9px;padding:10px;min-height:200px;overflow:auto}.pdf-preview canvas{display:block;margin:0 auto;box-shadow:0 2px 10px #28433212}.pdf-toolbar{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px;font-size:11px}.pdf-toolbar .button{font-size:11px;padding:5px 9px;min-height:30px}

.pdf-preview{overflow-x:hidden}.pdf-preview canvas{max-width:100%;height:auto!important}
