body[data-neomain-page="tasks"] .zt-workspace{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.8fr);gap:18px;align-items:start}body[data-neomain-page="tasks"] .zt-chat{min-width:0;display:flex;flex-direction:column}body[data-neomain-page="tasks"] .zt-chat-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}body[data-neomain-page="tasks"] .zt-chat-toolbar>div,.zt-review-actions{display:flex;gap:8px;flex-wrap:wrap}body[data-neomain-page="tasks"] h2{font-size:16px;margin:0}body[data-neomain-page="tasks"] .zt-messages{height:clamp(280px,44dvh,560px);padding:20px;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:14px;scrollbar-gutter:stable}body[data-neomain-page="tasks"] .zt-message{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;max-width:92%;font-size:15px;margin:0;padding:12px 16px;border-radius:18px;background:var(--az-raised);align-self:flex-start}body[data-neomain-page="tasks"] .zt-message.user{background:var(--az-accent-soft);align-self:flex-end}body[data-neomain-page="tasks"] .zt-compose{display:flex;gap:10px;align-items:center;padding:14px;border-top:1px solid var(--az-glass-edge)}body[data-neomain-page="tasks"] .zt-compose textarea{flex:1;min-width:0;width:100%;resize:none;overflow-y:auto;padding:12px 14px;border-radius:16px;background:var(--az-raised);border:1px solid var(--az-glass-edge);font:inherit;font-size:16px;line-height:22px;color:var(--az-text)}body[data-neomain-page="tasks"] .zt-compose textarea,body[data-neomain-page="tasks"] .zt-compose button{box-sizing:border-box;height:48px;min-height:48px;max-height:48px}body[data-neomain-page="tasks"] .zt-compose button{flex-shrink:0}body[data-neomain-page="tasks"] button:disabled{opacity:.55;cursor:wait}body[data-neomain-page="tasks"] button:focus-visible,body[data-neomain-page="tasks"] textarea:focus-visible{outline:2px solid var(--az-accent);outline-offset:3px}body[data-neomain-page="tasks"] .zt-management{display:grid;gap:16px;min-width:0}body[data-neomain-page="tasks"] .zt-management .tasks-wrap{max-height:580px;overflow:auto}body[data-neomain-page="tasks"] .zt-preference{display:flex;align-items:center;gap:10px;margin-bottom:8px}body[data-neomain-page="tasks"] .zt-preference input{width:20px;height:20px;accent-color:var(--az-accent)}body[data-neomain-page="tasks"] .zt-review{margin:0 16px 14px;padding:16px;background:var(--az-accent-soft);border-radius:18px}body[data-neomain-page="tasks"] .zt-review dl{display:grid;grid-template-columns:minmax(110px,1fr) minmax(0,1.4fr);gap:8px 16px;margin:14px 0;font-size:14px;overflow-wrap:anywhere}body[data-neomain-page="tasks"] .zt-review dt{color:var(--az-muted)}body[data-neomain-page="tasks"] .zt-review dd{margin:0}body[data-neomain-page="tasks"] .zt-history{max-height:260px;overflow:auto;padding:12px;border-bottom:1px solid var(--az-glass-edge)}body[data-neomain-page="tasks"] .zt-history button{width:100%;display:flex;justify-content:space-between;gap:12px;align-items:center;text-align:start;padding:12px;border:0;border-radius:12px;background:transparent;color:var(--az-text);font:inherit;cursor:pointer}body[data-neomain-page="tasks"] .zt-history button:hover{background:var(--az-accent-soft)}body[data-neomain-page="tasks"] .zt-history time{font-size:12px;color:var(--az-muted);white-space:nowrap}body[data-neomain-page="tasks"] .zt-error{margin:8px 16px;color:var(--az-text);font-size:14px;line-height:1.5}body[data-neomain-page="tasks"] .zt-results{margin-top:20px}body[data-neomain-page="tasks"] .zt-match-count{color:var(--az-accent)}body[data-neomain-page="tasks"] .zt-thinking{display:flex;gap:6px;padding:12px}body[data-neomain-page="tasks"] .zt-thinking i{width:7px;height:7px;border-radius:50%;background:var(--az-accent);animation:zt-bounce 1s infinite}body[data-neomain-page="tasks"] .zt-thinking i:nth-child(2){animation-delay:.15s}body[data-neomain-page="tasks"] .zt-thinking i:nth-child(3){animation-delay:.3s}.zt-sr{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}body[data-neomain-page="tasks"] [hidden]{display:none!important}@keyframes zt-bounce{0%,70%,100%{transform:translateY(0);opacity:.45}35%{transform:translateY(-5px);opacity:1}}@media(max-width:900px){body[data-neomain-page="tasks"] .zt-workspace{grid-template-columns:minmax(0,1fr)}body[data-neomain-page="tasks"] .zt-management .tasks-wrap{max-height:400px}}@media(max-width:480px){body[data-neomain-page="tasks"] .zt-messages{padding:14px;height:42dvh}body[data-neomain-page="tasks"] .zt-compose{padding:10px;gap:8px}body[data-neomain-page="tasks"] .zt-compose button{padding:10px}body[data-neomain-page="tasks"] .zt-history button{flex-direction:column;align-items:flex-start}body[data-neomain-page="tasks"] .zt-review dl{grid-template-columns:1fr 1fr}}@media(prefers-reduced-motion:reduce){body[data-neomain-page="tasks"] .zt-thinking i{animation:none}}
body[data-neomain-page="tasks"] .task-top{flex-wrap:wrap}body[data-neomain-page="tasks"] .task-top>div:first-child{flex:1 1 120px;min-width:0;overflow-wrap:anywhere}body[data-neomain-page="tasks"] .zt-task-actions{display:flex;flex-wrap:wrap;gap:6px;max-width:100%}body[data-neomain-page="tasks"] .zt-task-actions .btn{padding:8px 10px;max-width:100%;white-space:normal;overflow-wrap:anywhere}body[data-neomain-page="tasks"] .task-filters .chip{max-width:100%;overflow-wrap:anywhere}body[data-neomain-page="tasks"] .zt-task-status{margin:0 18px 16px}
/* One question at a time: choices belong to the current chat turn. */
body[data-neomain-page="tasks"] .zt-messages{height:clamp(360px,58dvh,680px);min-height:320px;max-height:720px;padding:20px;gap:14px;scroll-behavior:smooth}
body[data-neomain-page="tasks"] .zt-message.assistant{background:transparent;padding-inline:0;max-width:96%}
body[data-neomain-page="tasks"] .zt-turn{align-self:stretch;min-width:0;margin-top:-4px;display:flex;flex-direction:column;gap:10px}
body[data-neomain-page="tasks"] .zt-quick-replies{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
body[data-neomain-page="tasks"] .zt-quick-reply{max-width:100%;min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 14px;border:1px solid var(--az-glass-edge);border-radius:15px;background:var(--az-raised);color:var(--az-text);font:inherit;font-size:13px;line-height:1.4;text-align:start;overflow-wrap:anywhere;cursor:pointer;transition:background .18s ease,border-color .18s ease,transform .18s ease}
body[data-neomain-page="tasks"] .zt-quick-reply:hover{background:var(--az-accent-soft);border-color:var(--az-accent);transform:translateY(-1px)}
body[data-neomain-page="tasks"] .zt-quick-reply.is-subtle{background:transparent;color:var(--az-muted);border-style:dashed}
body[data-neomain-page="tasks"] .zt-message.is-arriving,body[data-neomain-page="tasks"] .zt-turn.is-arriving{animation:zt-appear .22s ease-out}
body[data-neomain-page="tasks"] .zt-review{align-self:stretch;margin:0;padding:15px;border-radius:16px;min-width:0;background:var(--az-accent-soft)}
body[data-neomain-page="tasks"] .zt-review>strong{font-size:14px}
body[data-neomain-page="tasks"] .zt-review dl{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);font-size:13px;gap:9px 12px}
body[data-neomain-page="tasks"] .zt-review>p{font-size:12px;line-height:1.5;margin:6px 0 12px}
body[data-neomain-page="tasks"] .zt-review-actions .btn{max-width:100%;white-space:normal;overflow-wrap:anywhere}
body[data-neomain-page="tasks"] .zt-message-help{margin:0;padding:0 18px 8px;font-size:12px;line-height:1.5;color:var(--az-muted)}
body[data-neomain-page="tasks"] .zt-compose textarea,body[data-neomain-page="tasks"] .zt-compose button{height:48px;min-height:48px;max-height:48px}
@keyframes zt-appear{from{opacity:.35;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:480px){body[data-neomain-page="tasks"] .zt-messages{height:55dvh;min-height:330px;padding:14px}body[data-neomain-page="tasks"] .zt-quick-reply{padding:10px 12px;font-size:13px;min-height:44px}body[data-neomain-page="tasks"] .zt-message-help{padding-inline:14px}body[data-neomain-page="tasks"] .zt-review{padding:13px}}
@media(prefers-reduced-motion:reduce){body[data-neomain-page="tasks"] .zt-messages{scroll-behavior:auto}body[data-neomain-page="tasks"] .zt-quick-reply{transition:none}body[data-neomain-page="tasks"] .zt-message.is-arriving,body[data-neomain-page="tasks"] .zt-turn.is-arriving{animation:none}}
