:root{font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:#24332e;background:#f6f8f7;font-synthesis:none;--green:#176b56;--muted:#809087;--border:#e5eae7}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,a:focus-visible{outline:3px solid #9dc9b8;outline-offset:3px}button{border:1px solid var(--border);border-radius:7px;background:white;padding:9px 14px;color:#43554c;font-size:13px;display:inline-flex;align-items:center;justify-content:center;gap:8px}button:hover{background:#f0f5f2}.primary{background:var(--green);border-color:var(--green);color:white}.primary:hover{background:#105542}.danger{color:#bd4c46}.plain{background:transparent;border:0}.icon{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.layout{display:flex;min-height:100vh}.sidebar{width:228px;background:white;border-right:1px solid var(--border);position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;padding:30px 17px 18px}.brand{display:flex;align-items:center;gap:11px;margin:0 9px 38px}.brand img{width:36px;height:36px}.brand b{font-size:21px;letter-spacing:2px}.brand small{display:block;font-size:9px;color:#829087;letter-spacing:2.2px;margin-top:3px}.nav-label{font-size:10px;letter-spacing:1.8px;color:#a1aaa5;padding:0 17px;margin:20px 0 12px}.nav{width:100%;justify-content:flex-start;gap:12px;background:none;border:0;padding:13px 16px;margin-bottom:5px;color:#748078;font-size:13px}.nav.active{background:#eaf3ee;color:#176b56;font-weight:650}.count{margin-left:auto;font-size:10px;background:#fff0d4;color:#a57424;border-radius:4px;padding:2px 6px}.sidebar-bottom{margin-top:auto;padding:20px 12px 0}.sidebar-note{background:#f7f9f7;border:1px solid var(--border);border-radius:8px;padding:14px;font-size:11px;line-height:1.9;color:#829087}.sidebar-note strong{color:#52665b;display:block}.profile{display:flex;align-items:center;gap:10px;margin-top:21px}.avatar{height:32px;width:32px;border-radius:50%;background:#e4ede7;display:grid;place-items:center;font-size:12px;color:#436450}.profile strong{font-size:12px;display:block}.profile small{font-size:10px;color:#8c978f}.main{margin-left:228px;width:calc(100% - 228px)}.topbar{height:73px;border-bottom:1px solid var(--border);background:#ffffffd9;display:flex;align-items:center;justify-content:space-between;padding:0 38px;font-size:12px;color:#8c978f}.crumb{display:flex;align-items:center;gap:12px}.crumb b{color:#58675e;font-weight:500}.top-right{display:flex;align-items:center;gap:17px}.dot{display:inline-block;width:6px;height:6px;background:#a9b6ad;border-radius:100%;margin-right:6px}.dot.online{background:#39a574}.workspace{padding:34px 38px;max-width:1630px;margin:auto}.pagehead{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:27px}h1{font-size:25px;font-weight:650;letter-spacing:.2px;margin:0 0 9px}h2{font-size:15px;margin:0;font-weight:650}h3{font-size:13px;margin:0 0 6px}p{font-size:12px;color:#89958d;line-height:1.7;margin:0}.head-actions{display:flex;gap:9px}.badge{border-radius:4px;padding:4px 7px;display:inline-block;font-size:10px;white-space:nowrap;color:#7a8a80;background:#f0f3f1}.badge.pending{color:#ac7c27;background:#fcf1d9}.badge.queued,.badge.running{color:#4076a5;background:#eaf2fc}.badge.done{color:#25855f;background:#e7f5ed}.badge.failed,.badge.needs_review{color:#b95d50;background:#fcedea}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:25px}.stat{padding:21px 23px;background:white;border:1px solid var(--border);border-radius:9px}.stat-label{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#738078}.stat-label .icon{color:#8ca295;width:18px}.stat-value{font-size:32px;letter-spacing:-1px;margin:13px 0 9px;font-weight:600}.stat-foot{font-size:10px;color:#9aa69d}.stat-foot span{color:#48856a;margin-right:5px}.grid{display:grid;grid-template-columns:minmax(0,1fr) 303px;gap:23px;align-items:start}.panel{background:white;border:1px solid var(--border);border-radius:9px;overflow:hidden;margin-bottom:22px}.panel-header{padding:21px 23px;border-bottom:1px solid #edf0ee;display:flex;justify-content:space-between;align-items:center}.panel-header p{font-size:10px;margin-top:6px}.panel-content{padding:23px}.workflow{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:27px 23px}.flow-item{display:flex;flex-direction:column;gap:9px;font-size:11px;color:#6f8075;align-items:center;white-space:nowrap}.flow-icon{width:41px;height:41px;border-radius:10px;display:grid;place-items:center;background:#edf5ef;color:#4a8466}.flow-item:nth-of-type(3) .flow-icon{background:#f1f0f9;color:#8878aa}.flow-arrow{color:#c7d2cb}.section-tabs{display:flex;gap:20px;padding:0 23px;border-bottom:1px solid var(--border);align-items:center}.filter{padding:14px 0;border:0;border-radius:0;background:transparent;color:#8d988f;font-size:12px;position:relative}.filter.active{color:#246f55}.filter.active:after{position:absolute;content:'';bottom:0;left:0;right:0;height:2px;background:#246f55}.search{margin-left:auto;max-width:180px;padding:7px 10px;border-radius:5px;border:1px solid var(--border);font-size:11px;background:#fafcfb;outline-color:#89b39b}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{background:#fcfdfc;color:#95a197;font-size:10px;font-weight:500;padding:13px 22px;border-bottom:1px solid #f0f3f1}td{padding:18px 22px;font-size:12px;border-bottom:1px solid #eef2ef}td small{display:block;color:#9ba69e;font-size:10px;margin-top:5px}.task-title{max-width:240px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}.text-btn{padding:0;border:0;background:transparent;color:#397a5b;font-size:11px}.empty{padding:43px 20px;text-align:center}.empty .icon{width:30px;height:30px;color:#acc3b5;margin-bottom:10px}.empty h3{font-size:13px;color:#6a8172;font-weight:500}.empty p{font-size:11px}.empty button{margin-top:18px}.connection{display:flex;align-items:center;justify-content:space-between;padding:17px 0;border-bottom:1px solid #eef1ef}.connection:last-child{border:0}.connection-left{display:flex;align-items:center;gap:12px}.connection-icon{width:35px;height:35px;border-radius:8px;background:#f1f6f2;display:grid;place-items:center;color:#6d8f77}.connection b{font-size:11px;display:block}.connection small{font-size:9px;color:#a4afa7;display:block;margin-top:5px}.steps{padding:5px 0}.step{display:flex;gap:12px;padding:12px 0}.step-number{width:23px;height:23px;flex-shrink:0;border-radius:100%;border:1px solid #dce5de;color:#96a59b;font-size:10px;display:grid;place-items:center}.step.complete .step-number{color:#348063;background:#eaf4ed;border-color:#eaf4ed}.step h3{font-size:11px;font-weight:500}.step p{font-size:10px}.callout{padding:17px 20px;background:#edf3ef;border-radius:8px;color:#6c8675;font-size:11px;line-height:1.8}.callout strong{display:block;color:#3b6b50;margin-bottom:4px}.footer{font-size:10px;color:#a7b0aa;text-align:center;padding:14px 0 0}.preview-tag{background:#f7f1df;color:#a89559;font-size:10px;padding:5px 8px;border-radius:5px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.entity-card{padding:23px;background:white;border:1px solid var(--border);border-radius:9px}.entity-card h2{margin:16px 0 9px}.entity-card .meta{margin:18px 0;color:#8e9e93;font-size:11px;line-height:2}.entity-actions{display:flex;justify-content:space-between;border-top:1px solid var(--border);padding-top:15px;margin-top:15px}.entity-icon{width:39px;height:39px;background:#edf4ef;border-radius:9px;display:grid;place-items:center;color:#4b7c5e}.card-top{display:flex;justify-content:space-between;align-items:center}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.settings-grid .panel{margin:0}.code{font-family:Consolas,monospace;background:#f6f8f6;padding:12px;border:1px solid var(--border);border-radius:6px;word-break:break-all;font-size:11px;color:#597364}.muted{color:#94a199;font-size:11px}.spacing{margin-top:17px}dialog{border:1px solid var(--border);border-radius:12px;padding:0;width:min(560px,calc(100vw - 32px));max-height:88vh;color:#31483a;box-shadow:0 20px 100px #12322024}dialog::backdrop{background:#17382955;backdrop-filter:blur(3px)}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid var(--border)}.modal-head h2{font-size:17px}.modal-body{padding:23px 24px}.modal-body label{font-size:12px;display:block;margin-bottom:17px;color:#617569}.modal-body input:not([type=checkbox]),.modal-body textarea,.modal-body select{display:block;width:100%;margin-top:8px;border:1px solid #dce5df;border-radius:6px;padding:11px;font-size:12px;color:#415e4c;background:white;outline-color:#5b9a75}.modal-body textarea{resize:vertical;min-height:100px}.modal-body label.check{display:flex;gap:8px;align-items:center}.form-foot{display:flex;justify-content:flex-end;gap:10px;padding-top:10px}.error{font-size:12px;color:#bc534b;margin-bottom:12px}.detail-prompt{white-space:pre-wrap;line-height:1.85;color:#587461;font-size:12px;background:#f6f9f6;border-radius:7px;padding:17px;overflow-wrap:anywhere}.logline{border-left:2px solid #e3ece6;padding:8px 14px;margin-left:3px;font-size:11px;color:#76927e}.logline b{color:#4d755b;display:block;font-weight:500;margin-bottom:5px}.login{min-height:100vh;display:grid;place-items:center;background:radial-gradient(ellipse at 30% 30%,#dfece3,transparent 60%),#f5f8f4}.login form{width:min(400px,90vw);padding:35px;background:white;border:1px solid var(--border);border-radius:12px}.login .brand{margin:0 0 30px}.login input{width:100%;padding:12px;border:1px solid var(--border);border-radius:6px;margin:20px 0}.login button{width:100%}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#285440;color:white;border-radius:8px;padding:12px 22px;font-size:12px;opacity:0;pointer-events:none;z-index:10;transition:opacity .2s}#toast.show{opacity:1}.loading{padding:20vh;text-align:center;color:#749581}.mobile-title{display:none}.warning{background:#fff5e3;color:#957137;padding:14px;border-radius:7px;font-size:12px;line-height:1.8}.detail-meta{display:flex;justify-content:space-between;gap:10px;margin-bottom:20px;font-size:11px;color:#8a9d90}.help-list{padding-left:18px;font-size:12px;line-height:2.2;color:#728979}
@media(min-width:1600px){.workspace{padding-top:43px}.panel-header{padding:24px}.stats{gap:23px}.stat{padding:25px}.workflow{padding:37px 28px}}
@media(max-width:1150px){.sidebar{width:192px;padding-left:10px;padding-right:10px}.main{margin-left:192px;width:calc(100% - 192px)}.workspace{padding:25px}.topbar{padding:0 25px}.grid{grid-template-columns:minmax(0,1fr) 260px;gap:17px}.cards{grid-template-columns:repeat(2,1fr)}.flow-item{font-size:9px}.workflow{padding:24px 14px}.flow-icon{width:33px;height:33px}.stat{padding:17px}.section-tabs{gap:13px;padding:0 16px}}
@media(max-width:900px){.grid{grid-template-columns:minmax(0,1fr)}.grid>div{min-width:0}.right-column{display:grid;grid-template-columns:1fr 1fr;gap:17px}.right-column .callout{grid-column:1/-1}.stats{gap:10px}.stat-label{font-size:11px}.stat-label .icon{display:none}.settings-grid{grid-template-columns:1fr}.search{max-width:130px}}
@media(max-width:650px){.sidebar{position:static;width:100%;padding:14px;border-right:0;border-bottom:1px solid var(--border);display:block}.sidebar .brand{margin:0 0 17px}.brand b{font-size:19px}.sidebar nav{display:flex;gap:4px;overflow:auto}.nav{width:auto;flex-shrink:0;padding:10px;font-size:11px;margin:0;gap:6px}.nav .icon{width:15px}.nav-label,.sidebar-bottom{display:none}.layout{display:block}.main{margin:0;width:100%}.topbar{height:46px;padding:0 18px}.top-right{gap:7px}.top-right .date{display:none}.workspace{padding:23px 16px}.pagehead{align-items:flex-start;flex-direction:column}h1{font-size:23px}.stats{grid-template-columns:1fr 1fr}.stat-value{font-size:27px}.stat-foot{font-size:9px}.right-column{display:block}.right-column .panel{margin-bottom:17px}.cards{grid-template-columns:1fr}.section-tabs{gap:12px;flex-wrap:wrap}.filter{font-size:10px}.search{width:100%;max-width:100%;margin:0 0 12px}.panel-header{padding:18px}.workflow{gap:3px}.flow-arrow{font-size:10px}.flow-item{font-size:10px}th,td{padding:13px 16px}.head-actions button{font-size:11px}.topbar .crumb{font-size:10px}.preview-tag{font-size:9px}.footer{line-height:1.7}.task-title{max-width:160px}}
