:root{color-scheme:light;--ink:#202a27;--muted:#7b8580;--line:#e8ede9;--green:#216e4e;--green-soft:#eaf3ed;--paper:#fff;--rail:#f7f9f7;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-size:14px;line-height:1.6}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink)}[hidden]{display:none!important}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,a:focus-visible{outline:3px solid #94c8ae;outline-offset:3px}input,textarea,select{color:var(--ink);width:100%;border:1px solid #dce3dd;border-radius:7px;padding:11px 12px;background:#fff;outline:none}input:focus,textarea:focus,select:focus{border-color:var(--green);box-shadow:0 0 0 3px #216e4e12}textarea{resize:vertical}a{color:inherit;text-decoration:none}h1,h2,p{margin-top:0}h1,h2{font-weight:600;letter-spacing:-.03em}label{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:500;margin-top:22px}.brand{display:inline-flex;gap:10px;align-items:center;font-size:20px;letter-spacing:1.5px}.brand-mark{display:grid;place-items:center;width:31px;height:34px;border:1px solid currentColor;border-radius:7px;font-size:21px;font-weight:650;letter-spacing:-1px}.muted{color:var(--muted)}.fine{font-size:12px}.small-label{font-size:11px;letter-spacing:.08em;color:var(--muted);margin-bottom:5px}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:14px;border-radius:7px;min-height:42px;padding:9px 17px;font-weight:500;font-size:13px;transition:background .15s}.primary{background:var(--green);color:white}.primary:hover:not(:disabled){background:#18573d}.secondary{background:#fff;color:var(--ink);border:1px solid #dce3dd}.secondary:hover{background:var(--rail)}.text-button{background:none;color:var(--muted);font-size:12px;padding:8px;text-align:left}.text-button:hover{color:var(--green)}.icon-button{display:grid;place-items:center;width:30px;height:30px;padding:0;background:transparent;border-radius:5px;color:var(--muted);font-size:22px}.icon-button:hover{background:#e8ede9;color:var(--ink)}.error{font-size:12px;color:#b33b35;min-height:18px;margin:12px 0}.login-shell{display:grid;grid-template-columns:45% 55%;min-height:100dvh}.introduction{background:#173b2e;color:#f8fcf9;padding:48px 12%;display:flex;flex-direction:column}.introduction-copy{margin:auto 0}.introduction-copy h1{font-size:clamp(30px,3.2vw,50px);line-height:1.55;letter-spacing:-.035em;margin-bottom:24px}.introduction-copy p{color:#b9cfc0;line-height:2;font-size:14px}.introduction-foot{margin:40px 0 0;color:#87ad97;font-size:11px;letter-spacing:.06em}.login-main{display:flex;align-items:center;justify-content:center;padding:50px 35px}.login-form{width:330px}.login-form h2{font-size:28px;margin:8px 0}.login-form>.muted{margin:0 0 35px}.login-form .primary{width:100%;justify-content:space-between;margin:5px 0 15px}.login-form>.fine{margin-top:14px;font-size:11px}.workbench{height:100dvh;display:grid;grid-template-columns:224px minmax(360px,1fr) 264px}.sidebar{background:var(--rail);border-right:1px solid var(--line);padding:28px 16px 16px;display:flex;flex-direction:column;min-height:0}.sidebar>.brand{padding:0 12px;margin-bottom:36px}.sidebar-heading{display:flex;justify-content:space-between;align-items:center;padding:0 10px;margin-bottom:9px;color:var(--muted);font-size:11px;letter-spacing:.05em}.agent-button{display:flex;align-items:center;gap:10px;width:100%;border-radius:6px;padding:11px 12px;color:#68756c;background:transparent;text-align:left;font-size:13px;margin:3px 0}.agent-button::before{content:"";width:7px;height:7px;border-radius:2px;background:currentColor;opacity:.7;flex-shrink:0}.agent-button.selected{background:#e7eee8;color:#205e43;font-weight:600}.agent-button:hover{background:#edf2ed}.history-heading{margin-top:30px;padding-top:20px;border-top:1px solid var(--line)}#agent-list{max-height:35vh;overflow:auto}.task-list{overflow:auto;min-height:60px;flex:1}.task-button{display:flex;flex-direction:column;align-items:flex-start;gap:4px;width:100%;padding:10px 12px;border-radius:6px;background:none;text-align:left;margin:2px 0;font-size:12px}.task-button:hover,.task-button.selected{background:#eaf0eb}.task-button span:last-child{color:var(--muted);font-size:10px}.sidebar-footer{border-top:1px solid var(--line);padding:16px 10px 0;display:flex;align-items:center;justify-content:space-between;font-size:12px}.main-panel{min-width:0;min-height:0;display:flex;flex-direction:column;position:relative}.work-header{min-height:98px;padding:23px 34px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:20px}.work-header h1{font-size:19px;line-height:1.4;margin:0;overflow-wrap:anywhere}.work-header .small-label{font-size:10px}.work-header .secondary{min-height:33px;padding:5px 11px;font-size:11px}.agent-description{font-size:12px;color:var(--muted);padding:11px 34px;border-bottom:1px solid var(--line);min-height:42px;white-space:pre-wrap;overflow-wrap:anywhere}.agent-description:empty{display:none}.conversation{overflow:auto;overscroll-behavior:contain;flex:1;padding:30px 34px;min-height:0;scrollbar-gutter:stable}.empty-state{text-align:center;margin:clamp(30px,14vh,140px) auto 40px;max-width:400px}.empty-symbol{width:48px;height:48px;display:grid;place-items:center;border:1px solid #dce6de;border-radius:14px;font-size:23px;color:var(--green);margin:0 auto 24px}.empty-state h2{font-size:22px;line-height:1.55;margin-bottom:13px}.empty-state p{font-size:13px;color:var(--muted);line-height:1.9}.empty-state button{margin-top:9px}.composer-container{padding:12px 34px 15px}.composer{border:1px solid #dce5de;border-radius:10px;padding:14px 14px 10px;box-shadow:0 2px 8px #233b2c05}.composer:focus-within{border-color:#8eb39e}.composer textarea{border:0;box-shadow:none;resize:none;padding:0;min-height:70px;max-height:220px;font-size:13px;line-height:1.8}.composer-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:8px}.composer-footer .primary{min-height:34px;padding:6px 11px;font-size:12px}.composer-note{text-align:center;font-size:10px;color:#97a098;margin:9px 0 0}.devices-panel{padding:31px 22px;border-left:1px solid var(--line);overflow:auto;background:#fff}.devices-heading{display:flex;justify-content:space-between;align-items:center}.devices-heading h2{font-size:13px;letter-spacing:0;margin:0}.devices-heading .icon-button{display:none}.devices-panel>.muted{font-size:11px;margin:10px 0 26px}.device-item{border-top:1px solid var(--line);padding:18px 0}.device-item h3{font-size:13px;font-weight:500;margin:0 0 9px;overflow-wrap:anywhere}.device-item p{font-size:11px;color:var(--muted);margin:5px 0}.status{display:inline-flex;align-items:center;gap:6px;color:#64816a;font-size:11px}.status::before{content:"";height:6px;width:6px;border-radius:50%;background:currentColor;flex-shrink:0}.status.offline{color:#929a95}.status.unknown,.status.running{color:#a77b2a}.status.failed{color:#b65d4e}.device-note{margin-top:35px;border-top:1px solid var(--line);padding-top:20px;font-size:11px;color:var(--muted);line-height:1.9}.device-note strong{color:#63746a;font-size:11px;font-weight:500}.device-note p{margin-top:8px}.task-heading{display:flex;align-items:center;gap:14px;margin-bottom:24px}.section-title{font-size:11px;letter-spacing:.05em;font-weight:500;color:var(--muted);margin:0 0 10px}.task-prompt{white-space:pre-wrap;font:inherit;font-size:14px;line-height:1.9;margin:0 0 30px;overflow-wrap:anywhere}.log-title{display:flex;justify-content:space-between;align-items:center}.event-feed{border-left:1px solid #dbe5dd;padding-left:17px;margin-left:3px}.event{padding:0 0 17px;position:relative;font-size:12px}.event::before{content:"";position:absolute;width:5px;height:5px;border-radius:50%;left:-20px;top:8px;background:#a0b5a6}.event time{font-size:10px;color:#8e9a91;display:inline-block;margin-right:10px}.event .event-type{font-size:10px;color:var(--green)}.event pre,.result-section pre{white-space:pre-wrap;overflow-wrap:anywhere;font-family:"SFMono-Regular",Consolas,"Liberation Mono",monospace;font-size:11px;line-height:1.8;margin:7px 0 0;color:#506258}.result-section{border-top:1px solid var(--line);margin-top:17px;padding-top:23px}.result-section pre{font-family:inherit;color:var(--ink);font-size:13px;line-height:1.95}.connection-banner{font-size:12px;padding:9px 34px;background:#fff7e7;color:#8d6d2f;border-bottom:1px solid #f0e5ce}.notice{position:fixed;z-index:20;bottom:22px;left:50%;transform:translateX(-50%);max-width:calc(100vw - 30px);padding:12px 22px;border:1px solid #d9e3db;border-radius:8px;background:white;box-shadow:0 6px 25px #1d3c2920;font-size:12px}dialog{border:1px solid var(--line);border-radius:12px;padding:28px;width:min(460px,calc(100vw - 30px));max-height:90dvh;overflow:auto;box-shadow:0 20px 80px #132a2440}dialog::backdrop{background:#14281e45;backdrop-filter:blur(2px)}dialog .dialog-heading{display:flex;justify-content:space-between;align-items:center}dialog h2{font-size:20px;margin:0}dialog p.muted{font-size:12px;margin-top:10px}dialog .primary{width:100%}dialog textarea{resize:vertical;max-height:160px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(min-width:1250px){.main-panel{max-width:1200px}.conversation{padding-right:50px;padding-left:50px}.composer-container{padding-right:50px;padding-left:50px}}@media(max-width:1120px){.workbench{grid-template-columns:208px minmax(0,1fr)}.devices-panel{display:none;position:fixed;z-index:10;right:0;top:0;bottom:0;width:280px;box-shadow:-15px 0 50px #20382a15}.devices-panel.open{display:block}.devices-heading .icon-button{display:grid}}@media(max-width:680px){.login-shell{grid-template-columns:1fr}.introduction{padding:22px 26px;min-height:0}.introduction-copy,.introduction-foot{display:none}.login-main{align-items:flex-start;padding:45px 25px}.login-form{width:100%;max-width:360px}.workbench{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}.sidebar{padding:10px 14px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;border-bottom:1px solid var(--line);border-right:0}.sidebar>.brand{padding:0;margin:0;font-size:15px}.brand-mark{width:25px;height:27px;font-size:17px}.sidebar-heading{display:none}.sidebar #agent-list{display:flex;overflow:auto;max-height:none;gap:4px}.agent-button{width:auto;flex-shrink:0;padding:7px 10px;font-size:11px}.agent-button::before{width:5px;height:5px}.sidebar-footer{border:0;padding:0;gap:4px}.sidebar-footer #account-name{display:none}.task-list{display:none}.sidebar #more-tasks,.sidebar #more-agents{grid-column:2;font-size:10px;padding:0}.work-header{min-height:77px;padding:16px 20px}.work-header h1{font-size:17px}.agent-description{padding:8px 20px;font-size:11px;min-height:35px}.conversation{padding:25px 20px}.empty-state{margin:7vh auto 20px}.empty-state h2{font-size:19px}.empty-state p{font-size:12px}.empty-symbol{width:40px;height:40px;margin-bottom:16px}.composer-container{padding:10px 14px 13px}.composer{padding:11px}.composer-note{font-size:9px}.composer-footer .fine{font-size:10px}.composer textarea{min-height:55px}.connection-banner{padding:8px 20px}.task-heading{align-items:flex-start;flex-direction:column;gap:4px}.task-prompt{font-size:13px}.result-section pre{font-size:12px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.approval-request { padding: 18px 0; border-top: 1px solid var(--border, #e5e7eb); }
.approval-request p { font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.approval-request button { margin-right: 8px; }
#enrollment-token { white-space: pre-wrap; overflow-wrap: anywhere; }
#agent-form label:has(> input[type="checkbox"]),
#permissions-form label:has(> input[type="checkbox"]) { flex-direction: row; align-items: flex-start; }
#agent-form input[type="checkbox"],
#permissions-form input[type="checkbox"] { width: auto; flex: 0 0 auto; margin: 4px 0 0; }

.operation-receipt { border-left: 2px solid #9aaba0; padding: 9px 12px; margin: 10px 0; overflow-wrap: anywhere; font-size: 12px; }
.operation-receipt p { margin: 5px 0; line-height: 1.65; }
.operation-receipt.verified { border-color: #368258; }
.operation-receipt.failed { border-color: #b65d4e; }
.operation-receipt.unknown { border-color: #a77b2a; }
#updates-dialog { width: min(700px, calc(100vw - 40px)); }
.device-item p { overflow-wrap: anywhere; }
.header-controls { flex-wrap: wrap; }
