
:root{font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:#202a32;background:#f3f5f6;font-synthesis:none;--teal:#176e65;--muted:#718087;--line:#e4e9e9}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer;transition:background .15s}button:disabled{opacity:.5;cursor:wait}a{color:inherit;text-decoration:none}[hidden]{display:none!important}button{border:0}input,textarea,select{width:100%;border:1px solid #d8e0e0;border-radius:8px;padding:11px 12px;background:#fff;color:#202a32;outline:none}input:focus,textarea:focus,select:focus{border-color:var(--teal);box-shadow:0 0 0 3px #176e6512}textarea{resize:vertical;min-height:110px}label{display:block;font-size:13px;font-weight:600;margin:18px 0}label input,label textarea,label select{display:block;margin-top:8px;font-weight:400}h1,h2,h3,p{margin-top:0}h1{font-size:30px;letter-spacing:-.8px;margin-bottom:0}h2{font-size:18px}h3{font-size:13px;font-weight:600;color:#566970;margin:24px 0 10px}.primary,.secondary,.danger{padding:11px 17px;border-radius:8px;font-weight:600;font-size:13px}.primary{background:var(--teal);color:white}.primary:hover{background:#125c55}.secondary{background:white;border:1px solid #d9e1e1;color:#34474c}.secondary:hover{background:#f0f5f4}.danger{color:#a14239;background:#fff0ee}.full{width:100%;display:flex;justify-content:space-between;margin-top:26px}.muted,.hint{color:var(--muted);font-size:13px;line-height:1.8}.hint{font-size:11px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2.3px;color:#7c918e;margin-bottom:12px}.logo{display:inline-flex;align-items:center;justify-content:center;background:var(--teal);width:36px;height:40px;color:#fff;font-size:24px;font-weight:700;border-radius:10px 3px}.login-shell{display:grid;grid-template-columns:1.1fr 1fr;min-height:100vh}.welcome{background:#123e38;color:#eef8f2;padding:9vh 10%;position:relative;overflow:hidden}.welcome:after{content:"◇";font-size:550px;position:absolute;right:-90px;bottom:-135px;color:#ffffff07;pointer-events:none}.wordmark{display:flex;align-items:center;gap:14px;font-size:12px;letter-spacing:3px;margin-bottom:16vh}.welcome .logo{background:#ffffff16}.welcome h1{font-size:clamp(40px,5vw,72px);line-height:1.3;margin-bottom:24px}.welcome>p:not(.eyebrow){font-size:15px;line-height:1.9;color:#aec6be}.welcome-foot{margin-top:12vh;font-size:10px;letter-spacing:2px;color:#8eaaa0}.login-form{align-self:center;max-width:400px;width:80%;margin:auto}.login-form h2{font-size:28px;margin-bottom:12px}.login-form form{margin-top:32px}.error{color:#b23b32;font-size:13px;line-height:1.5;margin:12px 0 0}#app{display:grid;grid-template-columns:218px 1fr;min-height:100vh}aside{background:#fbfcfc;border-right:1px solid var(--line);padding:32px 20px;display:flex;flex-direction:column;height:100vh;position:sticky;top:0}.brand{display:flex;align-items:center;gap:12px;margin:0 8px 52px;font-size:20px;font-weight:650}.brand small{display:block;font-size:10px;color:#7c8a8d;font-weight:400;letter-spacing:1px;margin-top:3px}.nav-label{font-size:10px;color:#91a09f;letter-spacing:1px;padding:0 12px;margin-bottom:13px}.nav-item{display:flex;justify-content:space-between;width:100%;padding:13px 12px;background:none;border-radius:7px;text-align:left;font-size:13px;color:#687b7e;margin-bottom:5px}.nav-item.active{background:#e7f0ed;color:#245f55;font-weight:600}.nav-item span{background:#d4e5df;font-size:11px;padding:1px 6px;border-radius:4px}.sidebar-bottom{margin-top:auto;padding-top:30px}.sidebar-bottom .hint{padding:10px 12px}.node{font-size:12px;line-height:1.8;padding:4px 12px}.dot{width:7px;height:7px;background:#aaafb3;border-radius:50%;display:inline-block;margin-right:8px}.dot.online{background:#44a981}.identity{border-top:1px solid var(--line);padding:20px 12px 8px;font-size:13px;font-weight:600}.text-button{background:none;color:#859390;font-size:11px;padding:5px 12px}main{padding:36px 40px 24px;max-width:1800px;width:100%;margin:0 auto}header{display:flex;align-items:center;justify-content:space-between;margin-bottom:30px}.header-actions{display:flex;gap:10px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:30px}.stat{background:#fff;border:1px solid var(--line);border-radius:11px;padding:19px 22px;display:flex;align-items:center;justify-content:space-between}.stat p{font-size:12px;color:#79898b;margin:0}.stat strong{font-size:26px;font-weight:500}.workspace{display:grid;grid-template-columns:minmax(270px, .83fr) minmax(400px,1.4fr);gap:24px;align-items:start}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;gap:15px}.section-heading h2{font-size:14px;margin:0;white-space:nowrap}.section-heading input{max-width:185px;background:transparent;font-size:12px;padding:8px 10px}.task-card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:20px;margin-bottom:12px;width:100%;text-align:left}.task-card.selected{border-color:#559587;box-shadow:0 0 0 1px #55958715;background:#fbfefd}.task-meta{display:flex;justify-content:space-between;gap:8px;font-size:10px;color:#8c989c;margin-bottom:13px}.task-card h2{font-size:14px;line-height:1.6;margin:0 0 15px;font-weight:600}.task-footer{display:flex;justify-content:space-between;font-size:11px;color:#94a09f}.badge{display:inline-block;padding:4px 8px;border-radius:4px;font-size:10px;background:#eef1f3;color:#657480;white-space:nowrap}.badge.ready,.badge.running{background:#e5f3ee;color:#297c60}.badge.awaiting_review{background:#fff0d6;color:#9e742d}.badge.accepted{background:#eaf2ff;color:#4e76a1}.badge.failed,.badge.interrupted,.badge.cancelled{background:#f9eae7;color:#b0786e}.detail{background:white;border:1px solid var(--line);border-radius:12px;min-height:520px;padding:28px;overflow:hidden}.detail-title{font-size:22px;line-height:1.5;margin:14px 0 10px}.detail-top{display:flex;justify-content:space-between;align-items:center}.detail-info{font-size:11px;color:#8b979a;margin-bottom:25px}.detail .prose{font-size:13px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}.acceptance{border-left:3px solid #8eb5a8;background:#f3f8f6;padding:14px 16px;border-radius:0 6px 6px 0}.actions{display:flex;gap:8px;flex-wrap:wrap;padding:20px 0;border-bottom:1px solid var(--line)}.actions button{font-size:12px;padding:9px 12px}.log{background:#172726;color:#b4cbc3;font-family:Consolas,monospace;font-size:11px;line-height:1.8;padding:16px;border-radius:8px;white-space:pre-wrap;word-break:break-word;max-height:260px;overflow:auto}.comment{font-size:12px;padding:12px 0;border-bottom:1px solid #edf0f0}.comment .meta{color:#8f9d9c;font-size:10px;margin-bottom:7px}.comment p{margin:0;white-space:pre-wrap;line-height:1.7}.comment-compose{display:flex;gap:8px;margin-top:16px}.comment-compose input{font-size:12px}.event{font-size:11px;color:#92a29f;line-height:1.9}.empty{padding:70px 20px;text-align:center;color:#8b9b99}.empty-symbol{font-size:45px;display:block;margin-bottom:20px;color:#a6beb6}.empty h2{font-size:16px;font-weight:500}.empty p{font-size:12px;line-height:1.9}.notice{background:#fff4da;border:1px solid #ead9a9;color:#816327;padding:12px 16px;border-radius:8px;font-size:12px;line-height:1.8;margin-bottom:20px}dialog{width:560px;max-width:92vw;border:1px solid var(--line);border-radius:14px;padding:26px;box-shadow:0 25px 90px #112e3425;max-height:90vh}dialog::backdrop{background:#173c3e60;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;align-items:center}.dialog-head h2{margin:0}.icon-button{background:none;font-size:24px;color:#96a5a2}.dialog-footer{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.settings-buttons{display:flex;gap:10px;margin-top:20px}
@media(max-width:1100px){main{padding:28px 22px}.workspace{grid-template-columns:1fr}.task-column{max-height:360px;overflow:auto}.stats{gap:10px}.stat{padding:14px}.detail{min-height:400px}}
@media(max-width:700px){.login-shell{grid-template-columns:1fr}.welcome{display:none}.login-form{padding:50px 0}#app{display:block}aside{height:auto;position:static;padding:14px 18px;display:block;border-bottom:1px solid var(--line)}.brand{margin:0 0 15px}.brand small{display:none}aside .nav-label,.sidebar-bottom{display:none}nav{display:flex;gap:8px}.nav-item{margin:0;justify-content:center;gap:10px;padding:9px}.stats{grid-template-columns:repeat(2,1fr)}main{padding:24px 16px}header{align-items:flex-start;gap:12px}h1{font-size:24px}.header-actions{flex-direction:column}.detail{padding:22px}.welcome-foot{margin-top:40px}}


@media(max-width:700px){.sidebar-bottom{display:flex;align-items:center;gap:10px;padding:8px 0 0}.sidebar-bottom .nav-label,.sidebar-bottom #nodes,.sidebar-bottom .hint{display:none}.identity{border:0;padding:4px;font-size:11px}}
.branch-options{display:grid;gap:6px;max-height:210px;overflow:auto;margin:-8px 0 16px}.branch-option{padding:9px 12px;text-align:left;background:var(--paper,#f6f8f7);border:1px solid #dce7e2;border-radius:7px;font:inherit;font-size:12px;overflow-wrap:anywhere;color:inherit}.branch-option:hover,.branch-option:focus{border-color:#238b77;background:#edf7f3}
