:root{color-scheme:dark;--bg:#0b1016;--panel:#131c26;--border:#2a3645;--text:#f2f5fa;--muted:#99a8ba;--mint:#42e9a8;--blue:#719bff;--purple:#b593ff;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;min-width:320px;background:var(--bg);color:var(--text);font-size:16px;line-height:1.5}button,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid var(--mint);outline-offset:4px}[hidden]{display:none!important}.ambient{position:fixed;inset:0;z-index:-1;background:radial-gradient(ellipse at 50% -30%,#263c5059,transparent 68%);pointer-events:none}.app{max-width:1600px;margin:auto;padding:0 38px}.topbar{min-height:116px;display:flex;align-items:center;gap:28px;border-bottom:1px solid #27313e}.brand{display:flex;align-items:center;gap:24px}.wordmark{font-size:40px;font-weight:850;letter-spacing:-2px;line-height:1;display:flex;align-items:center;gap:10px}.brand-dot{display:inline-block;width:12px;height:12px;border-radius:50%;background:var(--mint);box-shadow:0 0 22px #42e9a824}.brand-caption{color:var(--muted);font-size:14px;padding-left:24px;border-left:1px solid var(--border)}.header-stats{display:flex;align-items:center;gap:30px;margin-left:auto}.header-stat{display:flex;align-items:center;gap:10px;white-space:nowrap}.header-stat strong{font-weight:550}.stat-icon{font-size:32px;line-height:1;color:var(--blue)}.people-icon{font-size:25px;color:var(--blue)}.header-actions{display:flex;align-items:center;gap:10px}.capacity{color:var(--muted);font-size:12px;max-width:95px;line-height:1.4}.icon-button{width:36px;height:36px;background:#17212e;border:1px solid #2d3a49;color:#b9c8d9;border-radius:10px;font-size:20px}.icon-button:hover{background:#243244;color:white}.section-line{display:flex;justify-content:space-between;gap:16px;padding:26px 0 23px;color:var(--muted);font-size:13px}.section-line>div{display:flex;align-items:center;gap:9px}.live-dot{width:7px;height:7px;display:inline-block;background:var(--mint);border-radius:50%;flex-shrink:0}.live-dot.offline{background:#f6b35e}.connection-alert{background:#342819;border:1px solid #705434;color:#ffd7a1;padding:14px 18px;border-radius:12px;margin-bottom:20px;font-size:14px}.task-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:start;min-height:0}.task-card{--accent:var(--mint);--accent-rgb:66,233,168;position:relative;background:linear-gradient(140deg,#17212d,#111922 75%);border:1px solid #2a3848;border-radius:22px;padding:25px 24px 20px;overflow:hidden;animation:arrive .45s ease-out both}.task-card:nth-child(2n){--accent:var(--purple);--accent-rgb:181,147,255}.task-card:nth-child(3n){--accent:var(--blue);--accent-rgb:113,155,255}.task-card.waiting{--accent:#efb65e;--accent-rgb:239,182,94}.task-card.error,.task-card.interrupted{--accent:#ff8b96;--accent-rgb:255,139,150}.task-card.done{--accent:var(--mint)}.task-head{display:flex;gap:16px;align-items:flex-start}.task-symbol{height:48px;width:48px;flex-shrink:0;border-radius:14px;background:rgba(var(--accent-rgb),.1);color:var(--accent);border:1px solid rgba(var(--accent-rgb),.15);display:flex;align-items:center;justify-content:center;font-size:23px}.task-heading{min-width:0;flex:1}.task-heading h2{font-size:20px;line-height:1.4;letter-spacing:-.35px;margin:0 0 12px;font-weight:650;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.task-badge{display:inline-flex;align-items:center;gap:9px;border:1px solid rgba(var(--accent-rgb),.4);background:rgba(var(--accent-rgb),.075);color:var(--accent);font-weight:550;border-radius:30px;padding:6px 12px;font-size:13px;max-width:100%;line-height:1.45}.badge-dot{width:8px;height:8px;border-radius:50%;background:var(--accent);flex-shrink:0}.active .badge-dot{animation:pulse 2.6s ease-in-out infinite}.task-timer{font-variant-numeric:tabular-nums;font-size:12px;color:var(--muted);white-space:nowrap;position:absolute;top:9px;right:15px;opacity:.8}.scene{height:275px;position:relative;margin:0 -15px;display:flex;align-items:flex-end;justify-content:center;isolation:isolate}.scene::after{content:"";position:absolute;bottom:20px;left:16%;right:16%;height:18px;background:rgba(var(--accent-rgb),.055);border-radius:50%;z-index:-1}.main-robot{height:266px;width:266px;max-width:65%;object-fit:contain;position:relative;z-index:2;animation:working 4.8s ease-in-out infinite;transform-origin:50% 90%}.scene.solo .main-robot{max-width:100%;width:285px;height:285px}.helper-robot{height:139px;width:139px;max-width:31%;object-fit:contain;position:absolute;bottom:14px;z-index:1;animation:helper-work 4.2s ease-in-out infinite}.helper-robot.left{left:0;animation-delay:-1.3s}.helper-robot.right{right:0;transform:scaleX(-1);animation-name:helper-work-right;animation-delay:-2.7s}.scene .orbit{position:absolute;width:10px;height:10px;border:2px solid var(--accent);border-radius:3px;opacity:.55;top:25%;right:19%;transform:rotate(15deg);animation:orbit 6s ease-in-out infinite}.scene .orbit.small{width:5px;height:5px;left:23%;top:40%;animation-delay:-3s}.task-card.done .main-robot{animation:celebrate 1.8s ease-in-out 2}.task-card.waiting .main-robot,.task-card.error .main-robot,.task-card.unknown .main-robot{animation-play-state:paused}.helper-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:18px}.helper-label{display:flex;align-items:flex-start;gap:9px;background:#18222e;border:1px solid #2a3746;border-radius:12px;padding:10px 12px;min-width:0}.helper-label>.live-dot{margin-top:7px}.helper-label strong{display:block;font-size:12px;color:#dce4ee;font-weight:600;margin-bottom:3px}.helper-label span.task-description{font-size:12px;color:#aab8ca;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.helper-label .helper-stage{display:block!important;color:var(--accent)!important;margin-top:4px;font-size:11px}.more-helpers{grid-column:1/-1;color:var(--muted);font-size:12px;text-align:center;margin:0}.event-list{border-top:1px solid #293644;padding-top:14px;margin-top:5px;display:flex;flex-direction:column;gap:9px;min-height:75px}.event{display:grid;grid-template-columns:10px 42px 1fr;gap:10px;align-items:start;font-size:12px;color:var(--muted);line-height:1.55}.event time{color:#76879b;font-variant-numeric:tabular-nums}.event-mark{width:6px;height:6px;border-radius:50%;background:#4a5c71;margin:7px 0 0 2px}.event:first-child{color:#dce4ee}.event:first-child .event-mark{background:var(--accent);box-shadow:0 0 9px rgba(var(--accent-rgb),.22)}.event p{margin:0;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.task-meta{display:flex;gap:10px;justify-content:space-between;color:#708299;font-size:11px;margin-top:14px}.task-meta .source-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:75%}.empty-state{border:1px solid var(--border);border-radius:24px;min-height:490px;display:flex;align-items:center;justify-content:center;gap:50px;background:radial-gradient(ellipse at 32% 62%,#20324977,transparent 58%),#101821;overflow:hidden}.empty-art{width:430px;max-width:50%;position:relative}.fisher-art{display:block;width:100%;height:auto;position:relative;z-index:1;animation:fishing 7s ease-in-out infinite;transform-origin:50% 90%}.moon{width:28px;height:28px;background:#ddd4ff;border-radius:50%;position:absolute;right:19%;top:5%;box-shadow:-8px -3px 0 0 #15202c inset;opacity:.8}.water-line{width:90%;position:absolute;bottom:9%;left:5%;height:1px;background:linear-gradient(90deg,transparent,#609dc55e,transparent)}.eyebrow{font-size:11px;font-weight:600;letter-spacing:1.4px;color:#82a3bc}.empty-copy h1{font-size:32px;letter-spacing:-.9px;margin:10px 0}.empty-copy p{color:var(--muted);margin:12px 0 25px}.standby{font-size:12px;display:flex;gap:8px;align-items:center;color:#b4c9c4}.loading-state{min-height:320px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--muted)}.spinner{display:inline-block;width:22px;height:22px;border:2px solid #314153;border-top-color:var(--mint);border-radius:50%;animation:spin 1s linear infinite}.server-footer{display:flex;align-items:center;gap:30px;margin-top:28px;padding:23px 22px;background:#111923;border:1px solid #2b3746;border-radius:17px;font-size:13px;flex-wrap:wrap}.resource{display:flex;align-items:center;gap:10px}.resource-symbol{font-size:22px;color:var(--mint);line-height:1}.resource:nth-child(2) .resource-symbol{color:var(--blue)}.resource-name{color:var(--muted)}.resource strong{font-size:13px;font-weight:600;white-space:nowrap}.meter{display:block;background:#2b3644;border-radius:8px;height:5px;width:85px;overflow:hidden;margin-left:4px}.meter>span{height:100%;display:block;width:0;background:#59c4a2;border-radius:8px;transition:width 1s}.meter.disk>span{background:var(--blue)}.server-status{display:flex;align-items:center;gap:9px;margin-left:auto}.footer-time{font-size:12px;color:#6f8298}.page-foot{display:flex;justify-content:space-between;color:#657589;font-size:11px;padding:14px 2px 25px}.overflow-note{color:var(--muted);font-size:13px}.login-view{min-height:100svh;display:flex;align-items:center;justify-content:center;padding:30px 20px}.login-card{max-width:425px;width:100%;padding:42px;border:1px solid var(--border);border-radius:24px;background:linear-gradient(140deg,#192432,#101720);box-shadow:0 25px 90px #0004}.login-card .wordmark{margin-bottom:40px}.login-card h1{font-size:24px;letter-spacing:-.7px;margin:0 0 8px}.muted{color:var(--muted);font-size:14px}.login-card label{display:block;font-size:13px;color:#c4cfdd;margin:30px 0 8px}.password-wrap{position:relative}.password-wrap input{background:#0b121b;border:1px solid #3b4a5d;border-radius:10px;width:100%;padding:12px 44px 12px 14px;color:#fff;font-size:18px}.password-wrap button{position:absolute;right:6px;top:8px;width:32px;height:32px;color:var(--muted);border:0;background:none}.primary-button{display:block;width:100%;border:0;border-radius:10px;background:#49dfab;color:#07271c;font-size:15px;font-weight:700;padding:13px}.primary-button:hover{background:#6ceabe}.primary-button:disabled{opacity:.5;cursor:wait}.error-text{min-height:20px;font-size:13px;color:#ffa1ab;margin:8px 0 16px}.login-foot{font-size:12px;color:#72849b;text-align:center;margin-top:25px}.lock-icon{margin-right:5px}.reduce-motion *,body.hidden-tab *{animation:none!important;transition:none!important}
.helper-avatar{width:44px;height:54px;object-fit:contain;flex-shrink:0;animation:helper-work 5s ease-in-out infinite}.helper-label>div{min-width:0}.data-offline .scene *,.data-offline .helper-avatar,.data-offline .badge-dot{animation-play-state:paused!important}
@keyframes working{0%,100%{transform:translateY(0) rotate(-.5deg)}50%{transform:translateY(-5px) rotate(.8deg)}}@keyframes helper-work{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-4px) rotate(2deg)}}@keyframes helper-work-right{0%,100%{transform:scaleX(-1) translateY(0) rotate(-2deg)}50%{transform:scaleX(-1) translateY(-4px) rotate(2deg)}}@keyframes pulse{50%{opacity:.45}}@keyframes orbit{50%{transform:translateY(-10px) rotate(45deg);opacity:.25}}@keyframes arrive{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes fishing{50%{transform:rotate(.8deg) translateY(-2px)}}@keyframes celebrate{50%{transform:translateY(-9px) rotate(2deg)}}@keyframes spin{to{transform:rotate(360deg)}}
@media(min-width:1500px){.task-heading h2{font-size:22px}.scene{height:300px}.main-robot{height:290px;width:290px}.helper-robot{height:160px;width:160px}}
@media(max-width:1180px){.app{padding:0 25px}.brand-caption{display:none}.header-stats{gap:20px}.capacity{display:none}.topbar{gap:20px}.task-card{padding:24px 18px 18px}.task-heading h2{font-size:18px}.task-symbol{width:40px;height:40px}.scene{height:245px}.main-robot{height:245px;width:245px}.helper-robot{height:120px;width:120px}.server-footer{gap:22px}.footer-time{display:none}.meter{width:60px}}
@media(max-width:760px){.app{padding:0 18px}.topbar{min-height:130px;flex-wrap:wrap;gap:16px 10px;padding:24px 0 19px;position:relative}.wordmark{font-size:32px;letter-spacing:-1.5px}.brand-dot{width:9px;height:9px}.header-stats{order:3;flex-basis:100%;gap:21px;margin:0;font-size:13px}.header-actions{margin-left:auto}.header-stat{gap:6px}.stat-icon{font-size:23px}.people-icon{font-size:19px}.icon-button{height:32px;width:32px;font-size:17px}.task-grid{grid-template-columns:1fr;gap:18px}.section-line{font-size:11px;padding:20px 0 18px}.section-line #updated-at{font-size:10px}.task-card{border-radius:19px;padding:23px 19px 17px}.task-head{gap:13px}.task-heading h2{font-size:19px;-webkit-line-clamp:3}.task-badge{font-size:12px}.scene{height:255px;margin:0 -10px}.main-robot{width:250px;height:250px}.helper-robot{width:122px;height:122px}.scene.solo .main-robot{width:270px;height:270px}.helper-label{padding:9px 10px}.helper-label strong{font-size:11px}.helper-label span.task-description{font-size:12px}.event{font-size:12px}.server-footer{margin-top:20px;border-radius:15px;gap:17px 14px;padding:19px 16px;display:grid;grid-template-columns:1fr 1fr}.resource{gap:6px;flex-wrap:wrap}.resource-symbol{display:none}.resource strong{font-size:12px}.resource-name{font-size:12px}.meter{width:100%;margin:2px 0 0}.server-status{grid-column:1/-1;margin:1px 0 0;font-size:12px;border-top:1px solid #293441;padding-top:15px}.page-foot{font-size:10px;gap:8px}.empty-state{min-height:500px;flex-direction:column;gap:0;padding:20px 20px 38px}.empty-art{width:270px;max-width:100%}.empty-copy{text-align:center;margin-top:-5px}.empty-copy h1{font-size:27px}.empty-copy p{font-size:14px;margin-bottom:20px}.standby{justify-content:center}.eyebrow{font-size:10px}.login-card{padding:32px 25px}.task-meta{font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
