.codex-panel.queued{border-style:dashed;border-color:#d4cbea;background:#faf9fd}.codex-panel.queued .codex-logo{background:linear-gradient(145deg,#a99dbd,#82758f);box-shadow:none}.codex-head .agent-state.queued{background:#eeeaf3;color:#746b80}.codex-panel.queued .agent-progress i{background:linear-gradient(90deg,#aaa0b7,#d3cadc);animation-duration:2.2s}
.card-title{display:flex;align-items:flex-start;gap:8px}.card-title h3{flex:1}.edit-task,.view-task{border:0;background:#f2f0f8;color:#6d52dc;border-radius:6px;padding:3px 6px;opacity:0;transition:.15s}.task-card:hover .edit-task,.edit-task:focus,.task-card:hover .view-task,.view-task:focus{opacity:1}.execution-state{margin-top:12px;padding:8px 9px;border:1px dashed #e4e1eb;border-radius:8px;color:#9993a2;font-size:9px}.execution-state span{color:#8873d8;margin-right:4px}.task-card:focus-visible{outline:2px solid #7357ea;outline-offset:2px}.task-card:has(details[open]){cursor:default}@media(max-width:680px){.edit-task,.view-task{opacity:1}}
.task-create-actions{justify-content:space-between}.task-create-actions button{min-width:130px}.task-detail-modal{width:min(680px,calc(100% - 28px));max-width:680px}.task-detail-shell{padding:28px}.task-log{display:grid;gap:18px;margin-top:8px}.log-entry{display:grid;grid-template-columns:42px 1fr;gap:12px}.log-avatar{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:#edeaf5;color:#544d61;font-size:12px;font-weight:700}.log-avatar.codex{background:linear-gradient(145deg,#8267ed,#6043d3);color:white;font-size:18px}.log-entry>div:last-child{min-width:0;padding:14px 16px;border:1px solid #e7e3ee;border-radius:12px;background:#faf9fc}.log-entry header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.log-entry header time,.log-entry>div>time{color:#97909f;font-size:11px}.log-entry h3{font-size:16px;margin:0 0 6px}.log-entry p,.codex-answer{white-space:pre-wrap;line-height:1.6;color:#5e5865;font-size:13px}.log-status{padding:4px 8px;border-radius:99px;background:#eeeaf5;color:#746b80;font-size:10px;font-weight:700}.log-status.working{background:#ede8ff;color:#6648dc}.log-status.completed{background:#e2f5ed;color:#238264}.log-status.failed{background:#ffebe8;color:#b64c42}.detail-activity{list-style:none;margin:0 0 12px;padding:0 0 0 4px;color:#847d89;font-size:11px}.detail-activity li{display:flex;gap:8px;margin:6px 0}.detail-activity i{width:6px;height:6px;margin-top:5px;border-radius:50%;background:#9b89e5;flex:0 0 auto}.codex-answer{padding-top:12px;border-top:1px solid #ebe7f0;color:#37313d}.response.not-run .codex-answer{border-top:0;padding-top:0;color:#847d89;font-style:italic}@media(max-width:560px){.task-detail-shell{padding:20px}.log-entry{grid-template-columns:1fr}.log-avatar{display:none}.task-create-actions button{min-width:0;flex:1}}
.task-card.drop-before{box-shadow:0 -3px 0 var(--purple)}
