:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#1f2933;background:#f5f7f8;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--border: #d9e2e7;--muted: #637381;--panel: #ffffff;--primary: #136f63;--primary-strong: #0f5c52;--danger: #b42318;--ink: #1f2933;--accent: #2f80ed}*{box-sizing:border-box}html,body,#root{width:100%;height:100%;min-height:100%}body{margin:0;min-width:0;min-height:100vh;min-height:100dvh;overflow-x:hidden}button,input,select,textarea{font:inherit}button{display:inline-flex;min-height:40px;align-items:center;justify-content:center;gap:8px;border:1px solid var(--border);border-radius:6px;padding:0 14px;background:#fff;color:var(--ink);cursor:pointer}button:hover{border-color:#a8b7bf}button:disabled{cursor:not-allowed;opacity:.6}button.primary{border-color:var(--primary);background:var(--primary);color:#fff}button.primary:hover{background:var(--primary-strong)}button.danger{border-color:var(--danger);background:var(--danger);color:#fff}button.danger:hover{border-color:#8f1d14;background:#8f1d14}.button-link{display:inline-flex;min-height:40px;align-items:center;justify-content:center;gap:8px;border:1px solid var(--border);border-radius:6px;padding:0 14px;background:#fff;color:var(--ink);text-decoration:none}.button-link:hover{border-color:#a8b7bf}input,select,textarea{min-height:42px;width:100%;border:1px solid var(--border);border-radius:6px;padding:0 12px;color:var(--ink);background:#fff}textarea{resize:vertical;padding:12px;line-height:1.5}input:focus,select:focus,textarea:focus{outline:2px solid rgba(47,128,237,.18);border-color:var(--accent)}.shell{min-height:100vh;display:grid;place-items:center;padding:24px}.panel{width:min(100%,560px);border:1px solid var(--border);border-radius:8px;background:var(--panel);padding:24px;box-shadow:0 12px 36px #1f29330f}.panel.narrow{width:min(100%,420px)}.panel h1,.side-brand h1,.view-header h2{margin:0;letter-spacing:0}.panel h1{font-size:28px;line-height:1.2;margin-bottom:16px}.app-layout{display:grid;grid-template-columns:240px minmax(0,1fr);grid-template-rows:minmax(0,1fr);height:100vh;height:100dvh;min-height:0;width:100%;max-width:100vw;overflow:hidden}.app-main{grid-column:2;min-width:0;min-height:0;overflow:hidden}.mobile-app-bar,.mobile-menu-layer{display:none}.side-menu{grid-column:1;position:sticky;top:0;display:flex;height:100vh;height:100dvh;min-height:0;min-width:0;flex-direction:column;border-right:1px solid var(--border);background:#fff;padding:14px}.side-brand{display:flex;min-width:0;align-items:center;gap:12px;padding:4px 0 22px}.side-brand h1{font-size:17px;line-height:1.25}.brand-mark{display:inline-grid;width:38px;height:38px;flex:0 0 auto;place-items:center;border-radius:8px;background:var(--primary);color:#fff;font-weight:800}.side-footer button{width:100%;justify-content:flex-start}.side-nav{display:grid;gap:8px;margin:8px 0 18px}.side-nav button{width:100%;justify-content:flex-start;border-color:transparent;background:transparent}.side-nav button.active{border-color:#136f6333;background:#136f6314;color:var(--primary-strong)}.side-footer{display:grid;gap:12px;margin-top:auto}.side-user{display:flex;min-width:0;align-items:center;gap:10px;border-top:1px solid var(--border);padding-top:14px}.side-user div{min-width:0}.side-user strong,.side-user span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.side-user strong{font-size:14px}.side-user span{color:var(--muted);font-size:12px}.content-view{position:relative;min-width:0;width:100%;max-width:100%;padding:18px}.view-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 0 14px}.view-header>div:first-child{min-width:0}.view-header h2{font-size:28px;line-height:1.2}.eyebrow,.label{margin:0 0 4px;color:var(--muted);font-size:12px;font-weight:700;text-transform:uppercase}.summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;margin-bottom:18px}.summary>div{min-width:0;border:1px solid var(--border);border-radius:8px;background:var(--panel);padding:14px}.summary strong{display:block;overflow:hidden;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.muted{margin:0;color:var(--muted)}.error{margin:12px 0 0;color:var(--danger);overflow-wrap:anywhere}.actions{display:flex;gap:10px;align-items:center}.needs-view{display:grid;height:100%;min-height:0;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden}.needs-grid{display:grid;min-width:0;min-height:0;grid-template-columns:minmax(300px,420px) minmax(0,1fr);gap:16px}.needs-form{display:grid;align-content:start;min-width:0;max-height:100%;overflow:auto;border:1px solid var(--border);border-radius:8px;background:#fff;padding:14px;gap:12px}.needs-form-header{display:flex;align-items:center;gap:8px}.needs-form label{display:grid;min-width:0;gap:4px}.needs-form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.needs-list{display:grid;align-content:start;min-width:0;min-height:0;gap:10px;overflow:auto;padding-right:2px}.need-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(120px,180px);align-items:start;gap:12px;min-width:0;border:1px solid var(--border);border-left-width:4px;border-radius:8px;background:#fff;padding:14px}.need-row.priority-high{border-left-color:#b42318}.need-row.priority-medium{border-left-color:#b7791f}.need-row.priority-low{border-left-color:#136f63}.need-row-main{display:grid;min-width:0;gap:8px}.need-title-line{display:flex;min-width:0;align-items:center;gap:8px}.need-title-line strong{min-width:0;overflow:hidden;font-size:16px;text-overflow:ellipsis;white-space:nowrap}.need-title-line span{flex:0 0 auto;border-radius:999px;background:#eef3f5;padding:3px 8px;color:#344054;font-size:12px;font-weight:700}.need-row p,.need-row blockquote{margin:0;overflow-wrap:anywhere}.need-row p{color:#344054;line-height:1.55}.need-mvp{border-left:3px solid rgba(19,111,99,.3);padding-left:10px}.need-meta{display:flex;min-width:0;flex-wrap:wrap;gap:6px}.need-meta span{max-width:220px;overflow:hidden;border-radius:999px;background:#f1f5f7;padding:3px 8px;color:var(--muted);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.need-row blockquote{border-left:3px solid var(--border);color:var(--muted);padding-left:10px;line-height:1.5}.need-row-actions{display:grid;justify-items:end;gap:8px}.need-row-actions select{min-width:0}.icon-link{display:inline-grid;width:40px;height:40px;place-items:center;border:1px solid var(--border);border-radius:6px;color:var(--ink);text-decoration:none}.icon-link:hover{border-color:#a8b7bf}.needs-empty{display:grid;min-height:180px;place-items:center;align-content:center;gap:10px;border:1px solid var(--border);border-radius:8px;background:#fff;color:var(--muted)}.agent-view{display:grid;height:100%;min-height:0;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden}.agent-stack{display:grid;align-content:start;min-width:0;min-height:0;gap:10px;overflow:auto;padding-right:2px}.desktop-list-toolbar{display:none;min-width:0;align-items:center;justify-content:flex-end;gap:8px}.agent-section{display:grid;min-width:0;gap:6px}.agent-section-header{display:flex;min-width:0;align-items:end;justify-content:space-between;gap:12px}.agent-section-header h3{margin:0;font-size:14px;line-height:1.25}.agent-section-header p{margin:3px 0 0;font-size:13px}.agent-table-wrap{min-width:0;overflow-x:auto;border:1px solid var(--border);border-radius:8px;background:#fff}.pull-refresh-indicator{position:absolute;top:8px;left:50%;z-index:5;display:grid;width:30px;height:30px;place-items:center;border:1px solid var(--border);border-radius:999px;background:#fff;box-shadow:0 8px 22px #1f293324;opacity:0;pointer-events:none;transition:opacity .12s ease,transform .12s ease}.pull-refresh-indicator.is-visible{opacity:1}.pull-refresh-indicator span{width:15px;height:15px;border:2px solid #b7c4ca;border-top-color:var(--primary);border-radius:999px}.pull-refresh-indicator.is-refreshing span{animation:pull-refresh-spin .7s linear infinite}@keyframes pull-refresh-spin{to{transform:rotate(360deg)}}.agent-table{width:100%;min-width:980px;border-collapse:collapse;table-layout:auto;font-size:12px}.agent-table-keys{min-width:1040px}.agent-table-pcs{min-width:1640px}.agent-table-sessions{min-width:1320px}.agent-table-tasks{min-width:1540px}.needs-table{min-width:1724px}.needs-mobile-feed{display:none}.needs-source-tabs{display:inline-flex;width:fit-content;max-width:100%;min-width:0;gap:4px;border:1px solid var(--border);border-radius:8px;background:#fff;padding:3px}.needs-source-tabs button{min-height:32px;border-color:transparent;background:transparent;padding:0 10px;color:#344054;font-size:13px}.needs-source-tabs button.active{border-color:#136f6338;background:#136f6314;color:var(--primary-strong)}.needs-source-tabs button strong{min-width:20px;border-radius:999px;background:#eef3f5;padding:1px 6px;color:inherit;font-size:11px}.need-tile,.need-tile-body,.need-tile-meta{min-width:0}.need-tile{display:grid;grid-template-columns:38px minmax(0,1fr);gap:10px;border-bottom:1px solid #edf2f5;background:#fff;padding:12px 10px}.need-tile:last-child{border-bottom:0}.need-tile.is-selected{background:#f3faf8}.need-tile-marker{display:grid;width:38px;height:38px;place-items:center;border-radius:999px;background:#eef3f5;color:#344054;font-size:14px;font-weight:800}.need-tile.priority-high .need-tile-marker{background:#b423181a;color:var(--danger)}.need-tile.priority-medium .need-tile-marker{background:#b7791f1f;color:#875917}.need-tile.priority-low .need-tile-marker{background:#136f631a;color:var(--primary-strong)}.need-tile-body{display:grid;gap:8px}.need-tile-header{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:8px}.need-tile-meta{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:12px}.need-tile-meta strong{max-width:112px;overflow:hidden;color:var(--ink);font-size:13px;text-overflow:ellipsis;white-space:nowrap}.need-tile-meta time{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.need-tile-summary,.need-tile-source,.need-tile-mvp{margin:0;overflow-wrap:anywhere}.need-tile-summary{border:1px solid #dfe7eb;border-radius:8px;padding:9px 10px;color:#1f2933;font-size:14px;font-weight:650;line-height:1.55}.need-tile-summary span{display:inline-block;margin-right:7px;color:var(--primary-strong);font-size:11px;font-weight:800}.need-tile-source{display:-webkit-box;overflow:hidden;color:#344054;font-size:13px;line-height:1.5;text-decoration:none;-webkit-box-orient:vertical;-webkit-line-clamp:5}a.need-tile-source:hover{color:#1f2933;text-decoration:underline;text-underline-offset:3px}.need-tile-mvp{display:-webkit-box;overflow:hidden;color:#344054;font-size:13px;line-height:1.5;-webkit-box-orient:vertical;-webkit-line-clamp:3}.need-tile-mvp span{margin-right:6px;color:var(--primary-strong);font-size:11px;font-weight:800}.need-tile-tags .agent-tag-line{display:flex}.source-feedback-control{display:inline-flex;min-width:0;align-items:center;gap:4px}.source-feedback-control button{min-height:28px;height:28px;padding:0 8px;gap:4px;border-radius:6px;font-size:12px;white-space:nowrap}.source-feedback-control button.active{border-color:#136f6357;background:#136f631a;color:var(--primary-strong)}.source-feedback-control button.active.label-unwanted{border-color:#b91c1c47;background:#b91c1c14;color:#b91c1c}.source-feedback-control button.active.label-useful{border-color:#a162074d;background:#a1620717;color:#92560a}.source-feedback-dismissed-row td{padding:6px 8px}.source-feedback-dismissed-notice{display:grid;min-height:74px;min-width:0;align-content:center;justify-items:start;gap:4px;border:1px solid #dfe7eb;border-radius:8px;background:#f8fafb;padding:10px 12px;color:#344054}.source-feedback-dismissed-notice strong{color:#1f2933;font-size:13px}.source-feedback-dismissed-notice span{color:var(--muted);font-size:12px}.source-feedback-dismissed-notice button{min-height:26px;height:26px;padding:0 9px;border-radius:6px;font-size:12px}.need-tile-dismissed{display:block;padding:10px}.need-tile-actions{display:flex;min-width:0;align-items:center;gap:6px}.need-tile-actions select{flex:1 1 auto;width:auto;min-width:0;min-height:34px;height:34px;padding:0 9px;font-size:13px}.need-tile-actions .icon-link,.need-tile-actions .icon-button{flex:0 0 auto;width:34px;min-height:34px;height:34px;padding:0}.need-tile-source-link span{display:none}.need-tile-check{display:inline-flex;flex:0 0 auto;align-items:center;gap:5px;color:var(--muted);font-size:12px;font-weight:700}.need-tile-check input{width:16px;min-height:16px;height:16px;padding:0}.needs-mobile-empty{display:flex;min-height:120px;align-items:center;justify-content:center;gap:8px;color:var(--muted)}.needs-tiktok-board{display:grid;min-width:0;gap:14px}.tiktok-video-card{display:grid;min-width:0;grid-template-columns:minmax(190px,260px) minmax(0,1fr);gap:12px}.tiktok-video-card-dismissed{grid-template-columns:minmax(190px,260px)}.tiktok-video-side{display:grid;min-width:0;align-content:start;gap:8px}.tiktok-video-shell{position:relative;width:min(100%,260px);min-width:0;overflow:hidden;border-radius:8px;background:#111827;aspect-ratio:9 / 16;color:#fff}.tiktok-video-cover{position:absolute;inset:0;display:grid;place-items:center;border:1px solid rgba(255,255,255,.12)}.tiktok-video-thumbnail{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.tiktok-video-open-layer{position:absolute;inset:0;z-index:1;border-radius:inherit}.tiktok-video-open-layer:focus-visible{outline:3px solid rgba(255,255,255,.86);outline-offset:-5px}.tiktok-video-shell:after{position:absolute;inset:auto 0 0;z-index:1;height:42%;background:linear-gradient(to top,rgba(17,24,39,.84),transparent);content:"";pointer-events:none}.tiktok-video-cover>div{display:grid;justify-items:center;gap:8px;padding:16px;text-align:center}.tiktok-video-cover strong,.tiktok-video-cover span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tiktok-video-cover strong{font-size:15px}.tiktok-video-cover span,.tiktok-video-footer span{color:#ffffffad;font-size:12px}.tiktok-video-footer{position:absolute;right:12px;bottom:12px;left:12px;z-index:2;display:grid;min-width:0;gap:2px;pointer-events:none}.tiktok-video-footer strong,.tiktok-video-footer span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tiktok-video-actions{position:absolute;right:8px;bottom:72px;z-index:3;display:grid;gap:8px}.tiktok-video-actions button,.tiktok-video-action-link{display:grid;width:42px;min-height:42px;place-items:center;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:#111827bd;color:#fff;padding:0;text-decoration:none}.tiktok-video-actions button span{font-size:11px;font-weight:800;line-height:1}.tiktok-comment-panel{min-width:0;overflow:hidden;border:1px solid var(--border);border-radius:8px;background:#fff}.tiktok-comment-panel-header{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #edf2f5;padding:10px 12px}.tiktok-comment-panel-header span{color:var(--muted);font-size:12px;font-weight:700}.tiktok-comment-list{display:grid}.tiktok-comment-row{display:grid;min-width:0;grid-template-columns:34px minmax(0,1fr);gap:9px;border-bottom:1px solid #edf2f5;padding:11px 12px}.tiktok-comment-row:last-child{border-bottom:0}.tiktok-comment-row.is-selected{background:#f3faf8}.tiktok-comment-row-dismissed{grid-template-columns:minmax(0,1fr)}.tiktok-comment-avatar{display:grid;width:34px;height:34px;place-items:center;border-radius:999px;background:#f1f5f7;color:#344054;font-size:12px;font-weight:800}.tiktok-comment-body{display:grid;min-width:0;gap:7px}.tiktok-comment-source,.tiktok-comment-summary,.tiktok-comment-mvp{margin:0;overflow-wrap:anywhere}.tiktok-comment-source{color:#1f2933;font-size:13px;font-weight:650;line-height:1.5}.tiktok-comment-summary{border:1px solid #dfe7eb;border-radius:8px;background:#f7fafb;padding:8px 9px;color:#344054;font-size:13px;line-height:1.45}.tiktok-comment-summary span,.tiktok-comment-mvp span{margin-right:6px;color:var(--primary-strong);font-size:11px;font-weight:800}.tiktok-comment-mvp{color:#344054;font-size:12px;line-height:1.45}.tiktok-comment-meta,.tiktok-comment-actions{display:flex;min-width:0;align-items:center;gap:6px}.tiktok-comment-meta{justify-content:space-between}.tiktok-comment-meta time{flex:0 0 auto;color:var(--muted);font-size:11px}.tiktok-comment-actions label{display:inline-flex;flex:0 0 auto;align-items:center;gap:5px;color:var(--muted);font-size:12px;font-weight:700}.tiktok-comment-actions input{width:16px;min-height:16px;height:16px;padding:0}.tiktok-comment-actions select{flex:1 1 auto;width:auto;min-width:0;min-height:32px;height:32px;padding:0 8px;font-size:12px}.home-table{min-width:480px}.home-detail{min-width:0}.home-table th{width:140px}.agent-table th,.agent-table td{height:32px;max-height:32px;min-width:72px;border-bottom:1px solid #edf2f5;padding:3px 8px;text-align:left;text-overflow:ellipsis;vertical-align:middle;white-space:nowrap}.agent-table th{position:sticky;top:0;z-index:1;overflow:visible;background:#f7fafb;color:var(--muted);font-size:11px;font-weight:800;text-transform:uppercase}.agent-table td{overflow:hidden}.agent-table-actions{display:inline-flex;align-items:center;gap:4px}.icon-button{width:30px;min-height:28px;padding:0}.table-column-title{display:inline-flex;min-width:0;align-items:center;gap:4px;line-height:1}.table-column-title>span:first-child{overflow:hidden;text-overflow:ellipsis}.table-column-help{position:relative;display:inline-grid;flex:0 0 auto;place-items:center;color:#7d8c94;cursor:help}.table-column-help:after{position:absolute;top:calc(100% + 7px);left:50%;z-index:30;width:max-content;max-width:240px;border:1px solid #d5e0e5;border-radius:6px;background:#fff;box-shadow:0 12px 28px #0f172a24;color:var(--ink);content:attr(data-tooltip);font-size:11px;font-weight:600;line-height:1.5;opacity:0;padding:8px 10px;pointer-events:none;text-transform:none;transform:translate(-50%) translateY(-2px);transition:opacity .12s ease,transform .12s ease;white-space:normal}.table-column-help:hover:after,.table-column-help:focus-visible:after{opacity:1;transform:translate(-50%) translateY(0)}.agent-table tbody tr:last-child td{border-bottom:0}.agent-table tbody tr:hover td{background:#f9fbfc}.agent-table tbody tr.is-selected td{background:#f3faf8}.agent-table tbody tr.is-selected:hover td{background:#eef7f5}.agent-table td strong{font-size:12px}.agent-table td code{display:inline-block;max-width:360px;overflow:hidden;color:#344054;font-size:12px;text-overflow:ellipsis;vertical-align:middle;white-space:nowrap}.agent-table button{min-height:26px;height:26px;padding:0 8px;gap:4px;font-size:12px}.agent-table input,.agent-table select{width:230px;min-height:26px;height:26px;padding:0 8px;font-size:12px}.agent-table .icon-link,.agent-table .icon-button{width:26px;min-height:26px;height:26px;padding:0}.needs-table .needs-table-select-cell{width:42px;min-width:42px;max-width:42px;text-align:center}.agent-table input.needs-row-checkbox{width:16px;min-height:16px;height:16px;padding:0;vertical-align:middle}.agent-table-edit{display:inline-grid;grid-template-columns:230px 26px;align-items:center;gap:6px;vertical-align:middle}.agent-table-edit button{width:26px;padding:0}.agent-table-tag-actions{display:inline-flex;max-width:100%;align-items:center;gap:6px;vertical-align:middle}.agent-table-tag-actions button{flex:0 0 auto}.agent-tag-line{display:inline-flex;max-width:100%;align-items:center;gap:4px;overflow:hidden;vertical-align:middle}.agent-tag-line span{flex:0 0 auto;max-width:170px;overflow:hidden;border-radius:999px;background:#f1f5f7;padding:2px 7px;color:var(--muted);font-size:11px;line-height:1.45;text-overflow:ellipsis;white-space:nowrap}.agent-status-pill{display:inline-flex;min-width:68px;justify-content:center;border-radius:999px;background:#eef3f5;padding:2px 8px;color:#344054;font-size:11px;font-weight:800;line-height:1.45;white-space:nowrap}.agent-status-pill.status-online,.agent-status-pill.status-succeeded,.agent-status-pill.status-ready,.agent-status-pill.status-accepted,.agent-status-pill.status-done{background:#136f631a;color:var(--primary-strong)}.agent-status-pill.status-running,.agent-status-pill.status-provisioning,.agent-status-pill.status-sent{background:#2f80ed1a;color:#1f5fa8}.agent-status-pill.status-pending,.agent-status-pill.status-queued,.agent-status-pill.status-draft,.agent-status-pill.status-candidate{background:#b7791f1f;color:#875917}.agent-status-pill.status-offline,.agent-status-pill.status-failed,.agent-status-pill.status-disabled,.agent-status-pill.status-canceled,.agent-status-pill.status-rejected,.agent-status-pill.priority-high{background:#b423181a;color:var(--danger)}.agent-status-pill.priority-medium{background:#b7791f1f;color:#875917}.agent-status-pill.priority-low{background:#136f631a;color:var(--primary-strong)}.agent-table-empty{display:flex;min-height:74px;align-items:center;justify-content:center;gap:8px;color:var(--muted)}.agent-dialog{display:grid;width:min(100%,640px);max-height:calc(100dvh - 36px);gap:14px;overflow:auto;border:1px solid var(--border);border-radius:8px;background:#fff;padding:18px;box-shadow:0 24px 70px #1f29333d}.agent-dialog-wide{width:min(100%,760px)}.agent-dialog-header{display:flex;min-width:0;align-items:start;justify-content:space-between;gap:12px}.agent-dialog-header h3{margin:0;font-size:18px;line-height:1.25}.agent-dialog-close{width:36px;min-height:36px;padding:0}.agent-dialog-form{border:0;padding:0}.agent-form-preview{display:grid;min-width:0;gap:6px;border:1px solid var(--border);border-radius:8px;background:#f7fafb;padding:10px}.agent-form-preview code{overflow:hidden;color:#344054;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.agent-check-grid{display:flex;min-width:0;flex-wrap:wrap;gap:8px;border:1px solid var(--border);border-radius:8px;margin:0;padding:12px}.agent-check-grid legend{padding:0 4px}.agent-check-grid label{display:inline-flex;min-height:30px;align-items:center;gap:6px;border:1px solid var(--border);border-radius:999px;background:#fff;padding:0 10px;color:#344054;font-size:12px}.agent-check-grid input{min-height:auto;width:14px;height:14px}.agent-dialog-actions{display:flex;justify-content:flex-end;gap:8px}.needs-dialog-form{max-height:none;overflow:visible;border:0;padding:0}.agent-grid{display:grid;min-width:0;min-height:0;grid-template-columns:minmax(300px,420px) minmax(0,1fr);gap:16px}.agent-form-panel{display:grid;align-content:start;min-width:0;gap:12px}.agent-form,.agent-secret-panel{display:grid;align-content:start;min-width:0;border:1px solid var(--border);border-radius:8px;background:#fff;padding:14px;gap:12px}.agent-form{max-height:100%;overflow:auto}.agent-form-header,.agent-title-line{display:flex;min-width:0;align-items:center;gap:8px}.agent-form label{display:grid;min-width:0;gap:4px}.agent-form-row{display:grid;min-width:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.agent-form .checkbox-line{display:flex;align-items:center;gap:8px;color:#344054;font-size:13px}.agent-form .checkbox-line input{width:16px;height:16px}.agent-secret-panel>div{display:grid;grid-template-columns:minmax(0,1fr) 40px;align-items:end;gap:8px;min-width:0}.agent-secret-panel .label{grid-column:1 / -1}.agent-secret-panel code{min-width:0;overflow:hidden;border:1px solid var(--border);border-radius:6px;background:#f7fafb;padding:10px;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.search-agent-layout{display:grid;align-items:start;min-width:0;grid-template-columns:minmax(320px,440px) minmax(0,1fr);gap:16px}.search-agent-form{max-height:none;overflow:visible}.search-agent-mode-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.search-agent-mode{min-height:40px;border-color:var(--border);background:#fff;color:#344054;font-weight:700}.search-agent-mode.active{border-color:var(--primary);background:#136f631a;color:var(--primary-strong)}.search-agent-submit-row{display:flex;justify-content:flex-end}.search-agent-submit-row .primary{min-width:132px}.search-agent-success{display:inline-flex;min-height:32px;align-items:center;gap:8px;border:1px solid rgba(19,111,99,.18);border-radius:8px;background:#136f6314;color:var(--primary-strong);padding:0 10px;font-size:13px;font-weight:700}.search-agent-history{min-width:0}.agent-secret-panel button{width:40px;padding:0}.hermes-view{grid-template-rows:auto minmax(0,1fr) auto}.hermes-console-split{display:grid;min-width:0;min-height:0;grid-template-columns:minmax(280px,330px) minmax(0,1fr);gap:12px;overflow:hidden}.hermes-agent-pane,.hermes-detail-pane{display:grid;align-content:start;min-width:0;min-height:0;gap:10px;overflow:auto;padding-right:2px}.hermes-agent-pane{border-right:1px solid var(--border);padding-right:12px}.hermes-agent-list{display:grid;align-content:start;min-width:0;gap:6px}.hermes-memory-settings{display:grid;align-content:start;min-width:0;gap:6px;border-top:1px solid var(--border);padding-top:10px}.hermes-memory-list{display:grid;min-width:0;gap:6px}.hermes-memory-row{display:grid;min-width:0;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;border:1px solid var(--border);border-radius:6px;background:#fff;padding:8px}.hermes-memory-row:hover{border-color:#bad7d0;background:#fbfefd}.hermes-memory-actions{display:flex;align-items:center;gap:4px}.hermes-memory-actions .icon-button{width:28px;min-height:28px}.hermes-agent-card{display:grid;grid-template-columns:minmax(0,1fr) 32px;align-items:start;width:100%;min-width:0;gap:8px;border:1px solid var(--border);border-left:3px solid transparent;border-radius:6px;background:#fff;padding:8px;color:var(--ink);text-align:left}.hermes-agent-card:hover{border-color:#bad7d0;border-left-color:#bad7d0;background:#fbfefd}.hermes-agent-card.selected{border-color:#7db5aa;border-left-color:var(--primary);background:#f3faf8}.hermes-agent-select{display:grid;width:100%;min-width:0;min-height:auto;justify-items:stretch;gap:5px;border:0;background:transparent;padding:0;color:inherit;text-align:left}.hermes-agent-select:hover{border-color:transparent;background:transparent}.hermes-agent-select:focus-visible{outline:2px solid rgba(19,111,99,.28);outline-offset:2px}.hermes-agent-delete{width:32px;min-height:32px;border-color:transparent;background:transparent;color:var(--danger)}.hermes-agent-delete:hover{border-color:#f1b9b4;background:#fff5f4}.hermes-agent-card-subtitle{min-width:0;overflow:hidden;color:var(--muted);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.hermes-detail-header{display:grid;min-width:0;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:10px}.hermes-detail-header h3{margin:0;font-size:20px;line-height:1.25}.hermes-detail-header p{margin:6px 0 0;color:#344054;line-height:1.5;overflow-wrap:anywhere}.hermes-profile-summary{border:1px solid var(--border);border-radius:6px;background:#fff;padding:12px}.hermes-profile-editor{border:0;padding:0}.hermes-profile-title-fields{display:grid;min-width:0;grid-template-columns:minmax(180px,.55fr) minmax(0,1fr);gap:8px}.hermes-profile-actions{display:flex;align-items:end;justify-content:flex-end;flex-wrap:wrap;gap:6px}.hermes-edit-grid{display:grid;min-width:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.hermes-readonly-field{display:grid;min-width:0;gap:4px}.hermes-readonly-value{display:flex;min-height:42px;align-items:center;min-width:0;overflow:hidden;border:1px solid transparent;padding:0 2px;color:#344054;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.hermes-detail-grid{display:grid;min-width:0;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:4px 0 0}.hermes-detail-grid div{display:grid;min-width:0;gap:3px;border:1px solid var(--border);border-radius:8px;background:#f7fafb;padding:9px 10px}.hermes-detail-grid dt{color:var(--muted);font-size:11px;font-weight:800;letter-spacing:0;text-transform:uppercase}.hermes-detail-grid dd{min-width:0;overflow:hidden;margin:0;color:var(--ink);font-size:13px;text-overflow:ellipsis;white-space:nowrap}.hermes-note{display:grid;min-width:0;gap:6px;border:1px solid var(--border);border-radius:8px;background:#f7fafb;padding:10px}.hermes-note p{max-height:110px;overflow:auto;margin:0;color:#344054;line-height:1.55;white-space:pre-wrap}.hermes-detail-grid-layout{display:grid;min-width:0;grid-template-columns:minmax(0,1fr);gap:12px}.hermes-codex-settings{border:1px solid var(--border);border-radius:6px;background:#fff;padding:10px}.hermes-empty-action{width:100%;min-height:96px;color:var(--muted)}.hermes-detail-empty{height:100%;min-height:340px}.hermes-grid{display:grid;align-content:start;align-items:start;min-width:0;min-height:0;grid-template-columns:minmax(320px,.95fr) minmax(360px,1.05fr);grid-auto-rows:max-content;gap:14px;overflow:auto;padding-right:2px}.hermes-section{display:grid;align-self:start;align-content:start;min-width:0;gap:8px}.hermes-form{max-height:none;overflow:visible}.hermes-list,.hermes-run-list{display:grid;min-width:0;gap:6px}.hermes-section .agent-empty{min-height:54px;justify-items:start;border-radius:6px;padding:10px 12px}.hermes-row,.hermes-run-row{display:grid;min-width:0;grid-template-columns:minmax(0,1fr) auto;gap:8px;border:1px solid var(--border);border-radius:6px;background:#fff;padding:9px 10px}.hermes-run-row{grid-template-columns:minmax(0,1fr)}.hermes-row-title{display:flex;min-width:0;align-items:center;gap:8px}.hermes-row-title strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hermes-row p,.hermes-run-row p{margin:6px 0 0;color:#344054;line-height:1.4;overflow-wrap:anywhere}.hermes-meta{display:flex;min-width:0;flex-wrap:wrap;gap:4px;margin-top:6px}.hermes-meta span{max-width:220px;overflow:hidden;border-radius:4px;background:#f1f5f7;padding:2px 6px;color:var(--muted);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.hermes-row-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:6px}.agent-list{display:grid;align-content:start;min-width:0;min-height:0;gap:10px;overflow:auto;padding-right:2px}.agent-list.compact{max-height:280px}.agent-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(120px,180px);align-items:start;gap:12px;min-width:0;border:1px solid var(--border);border-left-width:4px;border-radius:8px;background:#fff;padding:14px}.agent-inline-edit{display:grid;grid-template-columns:auto minmax(0,1fr) 36px;align-items:end;gap:8px}.agent-inline-edit .label{grid-column:1 / -1}.agent-inline-edit button{width:36px;padding:0}.agent-row.status-online,.agent-row.status-succeeded{border-left-color:#136f63}.agent-row.status-running{border-left-color:#2f80ed}.agent-row.status-pending,.agent-row.status-queued{border-left-color:#b7791f}.agent-row.status-offline,.agent-row.status-failed,.agent-row.status-disabled,.agent-row.status-canceled{border-left-color:#b42318}.agent-row-main{display:grid;min-width:0;gap:8px}.agent-title-line strong{min-width:0;overflow:hidden;font-size:16px;text-overflow:ellipsis;white-space:nowrap}.agent-title-line span{flex:0 0 auto;border-radius:999px;background:#eef3f5;padding:3px 8px;color:#344054;font-size:12px;font-weight:700}.agent-row p,.agent-row blockquote{margin:0;overflow-wrap:anywhere}.agent-row p{color:#344054;line-height:1.55}.agent-row blockquote{border-left:3px solid var(--border);color:var(--muted);padding-left:10px;line-height:1.5}.agent-meta{display:flex;min-width:0;flex-wrap:wrap;gap:6px}.agent-meta span{max-width:260px;overflow:hidden;border-radius:999px;background:#f1f5f7;padding:3px 8px;color:var(--muted);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.agent-row-side{display:grid;justify-items:end;gap:4px}.agent-row-side strong{overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.agent-empty{display:grid;min-height:180px;place-items:center;align-content:center;gap:10px;border:1px solid var(--border);border-radius:8px;background:#fff;color:var(--muted)}.camera-view{display:grid;height:100%;min-height:0;grid-template-rows:auto auto auto minmax(0,1fr) auto auto;overflow:hidden}.camera-control-panel{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;align-items:end;gap:10px;margin-bottom:14px}.camera-control-panel label{display:grid;min-width:0;gap:4px}.camera-token-state{display:inline-flex;min-height:40px;max-width:320px;align-items:center;gap:8px;border:1px solid var(--border);border-radius:8px;padding:0 12px;color:var(--muted);font-size:13px}.camera-token-state span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.camera-cloud-toggle,.camera-token-toggle{display:inline-flex;min-height:40px;align-items:center;gap:8px;border:1px solid var(--border);border-radius:8px;padding:0 12px;background:#fff;color:var(--ink);font-size:13px}.camera-cloud-toggle input,.camera-token-toggle input{min-height:auto;width:auto}.camera-url-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;margin-bottom:14px}.camera-url-form label{display:grid;min-width:0;gap:4px}.camera-url-actions{display:flex;align-items:end;gap:8px}.camera-url-actions button:last-child{width:42px;padding:0}.camera-provisioning{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;border:1px solid var(--border);border-radius:8px;margin-bottom:14px;padding:12px;background:#fff}.camera-provisioning-copy{display:grid;min-width:0;gap:6px}.camera-provisioning-copy strong,.camera-provisioning-copy span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.camera-provisioning-copy span{color:var(--muted);font-size:13px}.camera-qr-frame{display:inline-flex;align-items:center;justify-content:center;width:260px;max-width:100%;height:260px;border:1px solid var(--border);border-radius:8px;background:#fff}.camera-qr-frame img{width:244px;max-width:calc(100% - 16px);height:244px;max-height:calc(100% - 16px)}.camera-stage{position:relative;display:grid;min-width:0;min-height:240px;overflow:hidden;border:1px solid var(--border);border-radius:8px;background:#101820}.camera-stream{width:100%;height:100%;min-height:0;object-fit:contain;background:#101820}.camera-placeholder{display:grid;place-items:center;align-content:center;gap:8px;min-width:0;padding:18px;color:#fff;text-align:center}.camera-placeholder span{max-width:100%;overflow:hidden;color:#b9c6cf;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.camera-credentials{display:grid;gap:6px;border:1px solid var(--border);border-radius:8px;margin-top:14px;padding:12px;background:#fff}.camera-credentials code{overflow:hidden;color:var(--ink);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.camera-token-list{display:grid;gap:8px;border:1px solid var(--border);border-radius:8px;margin-top:14px;padding:12px;background:#fff}.camera-token-list-header{display:flex;align-items:center;justify-content:space-between;gap:8px}.camera-token-list-header button{min-height:32px;width:34px;padding:0}.camera-token-rows{display:grid;max-height:132px;gap:6px;overflow:auto}.camera-token-row{display:grid;grid-template-columns:minmax(140px,1fr) auto auto auto;align-items:center;gap:10px;min-width:0;border-top:1px solid #edf1f3;padding-top:6px;font-size:12px}.camera-token-row code,.camera-token-row time{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.camera-token-empty{margin:0;color:var(--muted);font-size:13px}.camera-status-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px}.camera-status-grid>div{min-width:0;border:1px solid var(--border);border-radius:8px;background:var(--panel);padding:12px}.camera-status-grid .label{display:block;margin-bottom:6px}.camera-status-grid strong{display:inline-flex;max-width:100%;align-items:center;gap:6px;overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.chat-view{display:grid;height:100%;min-width:0;min-height:0;grid-template-columns:320px minmax(0,1fr);overflow:hidden;padding:0;background:#f7f9fa}.chat-history-pane{display:flex;min-width:0;min-height:0;flex-direction:column;border-right:1px solid var(--border);background:#fff}.history-header{display:flex;min-width:0;min-height:58px;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--border);padding:10px 12px}.history-header strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-title-block{display:grid;min-width:0;gap:2px}.history-title-block span{overflow:hidden;color:var(--muted);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.new-chat-button{flex:0 0 auto;min-height:36px;border-color:transparent;background:#f7fafb;padding:0 10px;font-size:13px;font-weight:700}.new-chat-button:hover{border-color:#d2dee3}.history-search{display:grid;min-width:0;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:8px;border:1px solid var(--border);border-radius:10px;margin:10px 8px 4px;background:#f7fafb;padding:0 10px;color:var(--muted)}.history-search input{min-height:38px;border:0;background:transparent;padding:0}.history-search input:focus{outline:none}.history-list{display:grid;align-content:start;gap:4px;min-width:0;min-height:0;overflow-y:auto;padding:8px}.history-row{display:grid;grid-template-columns:minmax(0,1fr) 34px;min-width:0;align-items:center;border:1px solid transparent;border-radius:8px}.history-row:hover,.history-row.active{border-color:#136f632e;background:#136f630f}.history-select{display:grid;grid-template-columns:42px minmax(0,1fr);width:100%;min-width:0;min-height:62px;justify-content:stretch;border:0;background:transparent;padding:8px;text-align:left}.history-select:hover{border-color:transparent}.history-thumb{display:inline-grid;width:42px;height:42px;place-items:center;border-radius:6px;object-fit:cover;background:#eef3f5;color:var(--muted)}.history-meta{display:grid;min-width:0;gap:2px}.history-title,.history-preview,.history-time{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-title{font-size:13px;font-weight:700}.history-preview,.history-time{color:var(--muted);font-size:12px}.history-status{display:inline-flex;min-width:0;align-items:center;gap:4px;color:var(--primary);font-size:12px;font-weight:700}.history-status svg{flex:0 0 auto;animation:pull-refresh-spin .7s linear infinite}.history-delete{width:32px;min-height:32px;border-color:transparent;background:transparent;padding:0;color:var(--muted)}.history-delete:hover{border-color:#b4231838;color:var(--danger)}.history-empty{display:grid;min-height:120px;place-items:center;align-content:center;gap:8px;color:var(--muted)}.chat-thread-panel{display:grid;min-width:0;min-height:0;grid-template-rows:auto minmax(0,1fr) auto}.chat-thread-panel.is-new-chat-panel{grid-template-rows:auto minmax(0,1fr)}.chat-topbar{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--border);background:#ffffffe6;padding:12px clamp(14px,4vw,32px)}.is-new-chat-panel .chat-topbar{min-height:50px;padding-block:8px}.chat-title{display:inline-flex;min-width:0;align-items:center;gap:8px}.chat-title strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-mode-badge{flex:0 0 auto;border:1px solid rgba(19,111,99,.24);border-radius:999px;background:#136f6314;color:var(--primary);padding:3px 8px;font-size:12px;font-weight:800;line-height:1}.chat-back-button{display:none;width:36px;min-height:36px;padding:0}.chat-controls{display:flex;min-width:0;align-items:center;gap:8px}.chat-controls select{width:min(44vw,520px);min-width:220px}.temp-mode-toggle{flex:0 0 auto;display:inline-flex;min-height:40px;align-items:center;gap:6px;border-color:#d4e1e5;background:#fff;padding:0 10px;font-size:13px;font-weight:800}.temp-mode-toggle.active{border-color:#136f6357;background:#136f631a;color:var(--primary)}.icon-button{width:40px;min-height:40px;padding:0}.file-input{display:none}.attached-image{display:flex;min-width:0;width:fit-content;max-width:100%;align-items:center;gap:10px;border:1px solid var(--border);border-radius:8px;background:#f7fafb;padding:8px}.attached-image img{width:48px;height:48px;object-fit:cover;border-radius:6px}.attached-image span{min-width:0;overflow:hidden;color:var(--muted);font-size:13px;text-overflow:ellipsis;white-space:nowrap}.attached-image button{width:34px;min-height:34px;padding:0}.thread-scroll{min-width:0;min-height:0;overflow-y:auto;overflow-x:hidden;padding:28px clamp(14px,5vw,44px)}.thread-inner{display:flex;width:min(100%,880px);height:100%;min-height:0;flex-direction:column;gap:14px;margin:0 auto}.chat-empty{display:grid;flex:1;min-height:0;place-items:center;align-content:center;gap:10px;color:var(--muted)}.new-chat-stage{display:grid;width:min(100%,780px);min-height:100%;align-content:center;gap:18px;margin:0 auto;padding:clamp(18px,8vh,72px) 0}.new-chat-stage h2{margin:0;color:#2f3a42;font-size:clamp(25px,4vw,34px);font-weight:650;letter-spacing:0;line-height:1.2;text-align:center}.chat-message{max-width:min(82%,720px);border:1px solid var(--border);border-radius:12px;padding:12px 14px;overflow-wrap:anywhere;box-shadow:0 8px 24px #1f29330a}.chat-message.user{align-self:flex-end;border-color:#136f6333;background:#136f6314}.chat-message.assistant{width:100%;max-width:100%;align-self:stretch;border:0;border-radius:0;background:transparent;padding:0;box-shadow:none}.chat-message img{display:block;width:min(100%,260px);max-height:220px;object-fit:contain;border-radius:6px;margin-bottom:10px}.message-image-wrap{position:relative;display:inline-grid;width:min(100%,280px);max-width:100%;margin-bottom:10px}.message-image-wrap:last-child{margin-bottom:0}.message-image-button{position:relative;display:block;width:100%;min-height:0;overflow:hidden;border-color:#1f29331f;border-radius:8px;background:#eef3f5;padding:0;box-shadow:0 8px 22px #1f293314;cursor:zoom-in}.message-image-button:hover{border-color:#136f6361}.message-image-button:focus-visible,.message-image-download:focus-visible,.image-preview-toolbar .icon-button:focus-visible{outline:2px solid rgba(47,128,237,.32);outline-offset:2px}.message-image-button img{width:100%;max-height:240px;border-radius:0;margin:0;background:#f7fafb;object-fit:contain}.message-image-zoom{position:absolute;bottom:8px;left:8px;display:inline-grid;width:30px;height:30px;place-items:center;border:1px solid rgba(255,255,255,.62);border-radius:6px;background:#1f2933b3;color:#fff;opacity:1;pointer-events:none;transform:translateY(0);transition:opacity .14s ease,transform .14s ease}.message-image-button:hover .message-image-zoom,.message-image-button:focus-visible .message-image-zoom{opacity:1;background:#1f2933d6}.message-image-download{position:absolute;top:8px;right:8px;display:inline-flex;width:32px;min-height:32px;align-items:center;justify-content:center;border:1px solid rgba(31,41,51,.12);border-radius:6px;background:#fffffff0;color:var(--ink);text-decoration:none;box-shadow:0 8px 18px #1f29331f}.message-image-download:hover{border-color:#136f6359;color:var(--primary-strong)}.message-actions{display:flex;margin-top:8px}.message-copy-button{width:32px;min-height:32px;border-color:transparent;background:transparent;padding:0;color:var(--muted)}.message-copy-button:hover{border-color:#1f293314;background:#1f29330d;color:var(--ink)}.message-copy-button.copied{color:var(--primary)}.message-markdown{display:grid;gap:10px;color:inherit;line-height:1.65}.message-markdown>:first-child{margin-top:0}.message-markdown>:last-child{margin-bottom:0}.message-markdown p,.message-markdown h1,.message-markdown h2,.message-markdown h3,.message-markdown h4,.message-markdown h5,.message-markdown h6,.message-markdown ul,.message-markdown ol,.message-markdown blockquote,.message-markdown pre{margin:0}.message-markdown h1,.message-markdown h2,.message-markdown h3{font-size:1.05em;line-height:1.45}.message-markdown ul,.message-markdown ol{display:grid;gap:6px;padding-left:1.35em}.message-markdown a{color:var(--accent);font-weight:600;overflow-wrap:anywhere}.message-markdown code{border-radius:6px;background:#1f29330f;padding:.1em .35em;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:.92em}.message-markdown pre{max-width:100%;overflow:auto;border-radius:8px;background:#f7fafb;padding:10px}.message-markdown pre code{background:transparent;padding:0}.message-markdown blockquote{border-left:3px solid var(--border);color:var(--muted);padding-left:10px}.message-markdown table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse}.message-markdown th,.message-markdown td{border:1px solid var(--border);padding:6px 8px;text-align:left}.run-trace{width:100%;align-self:flex-start;margin:2px 0 6px}.run-trace>summary{display:flex;min-height:32px;cursor:pointer;align-items:center;gap:8px;border-bottom:1px solid var(--border);padding:2px 0 8px;color:var(--muted);font-size:15px;list-style:none}.run-trace>summary::-webkit-details-marker,.trace-item>summary::-webkit-details-marker{display:none}.run-trace-summary,.trace-item>summary{display:inline-flex;min-width:0;align-items:center;gap:4px}.run-trace-chevron{flex:0 0 auto;transition:transform .16s ease}.run-trace[open] .run-trace-chevron{transform:rotate(90deg)}.trace-body{display:grid;gap:12px;border:1px solid var(--border);border-radius:8px;background:#fff;margin-top:10px;padding:12px;box-shadow:0 8px 24px #1f29330a}.trace-section{display:grid;min-width:0;gap:8px}.trace-section h3{margin:0;font-size:13px}.trace-section p{margin:0;color:#344054;white-space:pre-wrap}.trace-list{display:grid;gap:8px}.trace-item{min-width:0;border:1px solid var(--border);border-radius:6px;background:#f7fafb}.trace-item>summary{min-height:36px;cursor:pointer;padding:8px 10px;color:#344054;font-size:13px}.trace-item>summary span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.trace-item pre{max-height:260px;overflow:auto;border-top:1px solid var(--border);margin:0;padding:10px;color:#344054;font-size:12px;line-height:1.45;white-space:pre-wrap;word-break:break-word}.trace-item ul{display:grid;gap:6px;margin:0;border-top:1px solid var(--border);padding:10px 10px 10px 28px}.trace-item a{color:var(--accent)}.thread-composer-shell{min-width:0;border-top:1px solid var(--border);background:#f7f9faf5;padding:12px clamp(14px,5vw,44px) 16px}.thread-composer-shell.composer-center{border-top:0;background:transparent;padding:0}.thread-composer{display:grid;width:min(100%,880px);min-width:0;gap:10px;margin:0 auto;border:1px solid var(--border);border-radius:12px;background:#fff;padding:10px;box-shadow:0 12px 34px #1f293314}.thread-composer textarea{min-height:58px;border:0;padding:8px;resize:none}.composer-center .thread-composer textarea{min-height:96px;font-size:16px}.thread-composer textarea:focus{outline:none}.composer-input-wrap{position:relative;display:grid;min-width:0}.mention-suggestions{position:absolute;right:0;bottom:calc(100% + 8px);left:0;z-index:10;display:grid;max-height:260px;overflow-y:auto;border:1px solid var(--border);border-radius:8px;background:#fff;padding:6px;box-shadow:0 16px 42px #1f293329}.mention-suggestion{display:grid;grid-template-columns:28px minmax(0,1fr) auto;min-width:0;min-height:44px;align-items:center;gap:8px;border:0;border-radius:6px;background:transparent;padding:6px 8px;color:#344054;text-align:left}.mention-suggestion:hover,.mention-suggestion.active{background:#136f6314;color:var(--primary-strong)}.mention-suggestion-icon{display:inline-flex;width:28px;height:28px;align-items:center;justify-content:center;border-radius:6px;background:#edf3f3;color:var(--primary-strong)}.mention-suggestion-main{display:grid;min-width:0;gap:1px}.mention-suggestion-main strong,.mention-suggestion-main span,.mention-suggestion-kind{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mention-suggestion-main strong{color:inherit;font-size:13px}.mention-suggestion-main span{color:var(--muted);font-size:12px}.mention-suggestion-kind{max-width:70px;color:var(--muted);font-size:11px;font-weight:700;text-transform:uppercase}.composer-actions{display:flex;min-width:0;justify-content:flex-end;gap:8px}.mention-toolbar{display:flex;min-width:0;flex-wrap:wrap;gap:6px}.mention-toolbar button{min-height:28px;border-color:#dce6eb;border-radius:999px;background:#f7fafb;padding:0 9px;color:#344054;font-size:12px}.mention-toolbar button.active{border-color:#136f6347;background:#136f6314;color:var(--primary-strong)}.mention-toolbar span,.mention-toolbar strong{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mention-toolbar span{color:var(--muted);font-weight:700}.send-button{width:42px;min-height:40px;padding:0}.thread-composer-shell .error{width:min(100%,880px);margin:10px auto 0}.dialog-backdrop{position:fixed;inset:0;z-index:20;display:grid;place-items:center;background:#1f29336b;padding:18px}.confirm-dialog{display:grid;width:min(100%,380px);gap:14px;border:1px solid var(--border);border-radius:8px;background:#fff;padding:18px;box-shadow:0 24px 70px #1f29333d}.confirm-dialog-header{display:flex;min-width:0;align-items:center;gap:10px;color:var(--danger)}.confirm-dialog h2{margin:0;color:var(--ink);font-size:18px;line-height:1.25}.confirm-dialog p{margin:0;color:var(--muted);overflow-wrap:anywhere}.confirm-dialog-list{display:grid;gap:4px;margin:0;padding-left:18px;color:#344054;font-size:13px;line-height:1.45}.confirm-dialog-list li{overflow-wrap:anywhere}.confirm-dialog-actions{display:flex;justify-content:flex-end;gap:8px}.image-preview-backdrop{position:fixed;inset:0;z-index:40;display:grid;place-items:center;background:#0f172ab8;padding:18px}.image-preview-dialog{display:grid;width:min(100%,1120px);height:min(100%,860px);max-height:calc(100dvh - 36px);min-width:0;grid-template-rows:auto minmax(0,1fr);overflow:hidden;border:1px solid rgba(255,255,255,.16);border-radius:8px;background:#101820;box-shadow:0 24px 70px #0f172a61}.image-preview-toolbar{display:grid;min-width:0;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;border-bottom:1px solid var(--border);background:#fff;padding:10px 12px}.image-preview-toolbar span{min-width:0;overflow:hidden;color:#344054;font-size:13px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.image-preview-toolbar>div{display:inline-flex;flex:0 0 auto;align-items:center;gap:8px}.image-preview-toolbar .icon-button{display:inline-flex;width:38px;min-height:38px;align-items:center;justify-content:center;border:1px solid var(--border);border-radius:6px;background:#fff;color:var(--ink);padding:0;text-decoration:none}.image-preview-toolbar .icon-button:hover{border-color:#a8b7bf}.image-preview-dialog>img{display:block;width:100%;max-width:100%;height:100%;min-height:0;max-height:none;justify-self:center;align-self:center;background:#101820;object-fit:contain}@media(min-width:901px){.hide-desktop-header>.view-header{display:none}.hide-desktop-header>.desktop-list-toolbar,.hide-desktop-header .agent-stack>.desktop-list-toolbar{display:flex}}@media(max-width:900px){.app-layout{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}.app-layout>.side-menu{display:none}.app-main{grid-column:1;grid-row:2}.mobile-app-bar{display:flex;grid-column:1;grid-row:1;min-width:0;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border);background:#fff;padding:10px 14px}.mobile-brand{display:flex;min-width:0;align-items:center;gap:10px}.mobile-brand strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-app-bar button{width:42px;min-height:42px;padding:0}.mobile-menu-layer{position:fixed;inset:0;z-index:30;display:block}.mobile-menu-backdrop{position:absolute;inset:0;background:#1f29336b}.mobile-menu-panel{position:absolute;inset:0 auto 0 0;width:min(84vw,320px);max-width:100%;background:#fff;box-shadow:18px 0 50px #1f293333}.mobile-menu-panel .side-menu{position:static;display:flex;width:100%;height:100dvh;border-right:0;padding:18px}.mobile-menu-close{position:absolute;top:12px;right:12px;z-index:1;width:36px;min-height:36px;padding:0}.content-view{padding:10px}.content-view.chat-view{padding:0}.chat-view{grid-template-columns:260px minmax(0,1fr)}.view-header{align-items:center;flex-direction:row;gap:10px;padding-bottom:10px}.view-header h2{overflow:hidden;font-size:25px;text-overflow:ellipsis;white-space:nowrap}.view-header .actions{flex:0 0 auto;justify-content:flex-end}.view-header .actions button{white-space:nowrap}.summary,.camera-url-form{grid-template-columns:1fr}.needs-grid,.agent-grid{grid-template-columns:1fr;overflow:auto}.hermes-console-split,.hermes-grid,.hermes-edit-grid,.hermes-detail-grid,.hermes-detail-grid-layout,.hermes-detail-header,.hermes-profile-title-fields,.agent-form-row,.hermes-memory-row,.hermes-row{grid-template-columns:1fr}.hermes-profile-actions{justify-content:flex-start}.hermes-console-split{overflow:auto}.hermes-agent-pane{overflow:visible;border-right:0;border-bottom:1px solid var(--border);padding-right:0;padding-bottom:14px}.hermes-detail-pane{overflow:visible;padding-right:0}.hermes-row-actions{justify-content:flex-start}.search-agent-layout,.search-agent-mode-grid{grid-template-columns:1fr}.agent-view{overflow:auto}.agent-form,.agent-list{max-height:none;overflow:visible}.agent-row{grid-template-columns:1fr}.agent-inline-edit{grid-template-columns:minmax(0,1fr) 36px}.agent-row-side{justify-items:start}.needs-form,.needs-list{max-height:none;overflow:visible}.need-row{grid-template-columns:1fr}.need-row-actions{grid-template-columns:minmax(0,1fr) auto auto;justify-items:stretch}.camera-control-panel,.camera-provisioning{grid-template-columns:1fr}.camera-token-state,.camera-cloud-toggle,.camera-control-panel button{max-width:none;width:100%}.camera-url-actions{align-items:stretch}.camera-url-actions button.primary{flex:1}.camera-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.chat-topbar{align-items:flex-start;flex-direction:column}.chat-controls{width:100%}.chat-controls select{flex:1;width:auto;min-width:0}.chat-message{max-width:100%}.image-preview-dialog{width:min(100%,960px)}}@media(max-width:720px){.task-dialog-backdrop{display:block;overflow-y:auto;overscroll-behavior:contain;padding:10px;padding-bottom:max(10px,env(safe-area-inset-bottom));-webkit-overflow-scrolling:touch}.task-create-dialog{width:100%;max-height:none;margin:0 auto;overflow:visible}.task-create-dialog .agent-dialog-form{max-height:none;overflow:visible}.needs-view>.view-header{display:grid;grid-template-columns:minmax(0,1fr) auto}.needs-view>.view-header .actions{gap:6px}.needs-view>.view-header .actions button{position:relative;width:38px;min-height:38px;padding:0}.needs-view>.view-header .actions button span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.needs-list-section .needs-table-wrap{display:none}.needs-mobile-feed{display:grid;min-width:0;overflow:hidden;border:1px solid var(--border);border-radius:8px;background:#fff}.need-tile-header .agent-status-pill{min-width:42px}.needs-source-tabs{width:100%}.needs-source-tabs button{flex:1}.tiktok-video-card{grid-template-columns:1fr}.tiktok-video-shell{width:min(100%,280px);justify-self:center}.chat-view{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr)}.chat-history-pane{border-right:0;border-bottom:0}.chat-view.mobile-list .chat-thread-panel,.chat-view.mobile-thread .chat-history-pane{display:none}.history-header{min-height:50px;padding:8px 10px}.new-chat-button{min-height:34px;padding:0 9px}.history-list{grid-auto-flow:row;grid-auto-columns:auto;overflow-x:hidden;overflow-y:auto;padding:8px}.history-row{grid-template-columns:minmax(0,1fr) 34px}.history-select{min-height:58px}.chat-thread-panel{height:100%}.chat-topbar{align-items:center;flex-direction:row;min-height:52px;padding:6px 9px}.is-new-chat-panel .chat-topbar{min-height:44px;padding-block:4px}.chat-title{flex:1 1 auto}.chat-title>svg{display:none}.chat-back-button{display:inline-grid}.chat-controls{flex:0 0 auto;width:auto}.chat-controls select{width:138px;min-width:0}.thread-scroll{padding:18px 12px}.is-new-chat-panel .thread-scroll{padding:8px 12px 14px}.new-chat-stage{gap:14px;padding:8px 0 20px}.new-chat-stage h2{font-size:25px}.thread-composer-shell{padding:8px 10px 10px}.thread-composer{border-radius:18px}.composer-center .thread-composer textarea{min-height:84px}.message-image-wrap{width:min(100%,260px)}.image-preview-backdrop{padding:10px}.image-preview-dialog{width:100%;height:calc(100dvh - 20px);max-height:calc(100dvh - 20px);border-radius:8px}.image-preview-toolbar{gap:8px;padding:8px}}@media(max-width:520px){.needs-form-row{grid-template-columns:1fr}.camera-token-row{grid-template-columns:1fr auto}.camera-token-row time{display:none}.camera-status-grid{grid-template-columns:1fr}.chat-controls{flex-wrap:wrap}.chat-controls select{flex-basis:100%}.chat-topbar .chat-controls{flex-wrap:nowrap}.chat-topbar .chat-controls select{flex-basis:auto;width:132px}.temp-mode-toggle{width:40px;padding:0;justify-content:center}.temp-mode-toggle span,.new-chat-button span{display:none}.mention-toolbar{flex-wrap:nowrap;overflow-x:auto;padding-bottom:2px}.mention-toolbar button{flex:0 0 auto}.thread-scroll{padding-top:18px}.message-image-wrap{width:min(100%,240px)}.message-image-download{width:30px;min-height:30px}.message-image-zoom{width:28px;height:28px}.image-preview-toolbar span{font-size:12px}.image-preview-toolbar .icon-button{width:34px;min-height:34px}}@media(max-height:620px){.chat-topbar{padding-block:8px}.thread-scroll{padding-block:12px}.thread-composer-shell{padding-block:8px}.thread-composer textarea{min-height:42px}.image-preview-backdrop{padding-block:10px}.image-preview-dialog{height:calc(100dvh - 20px);max-height:calc(100dvh - 20px)}}@media(max-height:420px){.chat-empty{gap:4px}.chat-empty svg{display:none}}
