/* Agent tab: one calm screen. Up to three next steps, the first one clearly first; what needs you; the rest folded. */
#view-agent { max-width: 1050px; }
#view-agent .agent-section-title { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 13px; font-weight: 650; letter-spacing: .02em; text-transform: uppercase; color: var(--o-muted); }
#view-agent .agent-next { margin: 0 0 28px; }
#view-agent .sg-card { margin: 0 0 10px; padding: 14px 16px 12px; border: 1px solid var(--o-line); border-radius: 14px; background: var(--o-raise); }
#view-agent .sg-card[aria-busy="true"] { opacity: .7; }
#view-agent .sg-first { padding: 18px 18px 14px; border-color: color-mix(in srgb, var(--o-accent) 45%, var(--o-line)); }
#view-agent .sg-title { margin: 0; font-size: 16px; font-weight: 650; line-height: 1.3; color: var(--o-ink); }
#view-agent .sg-first .sg-title { font-size: 19px; }
#view-agent .sg-why { margin: 4px 0 0; font-size: 14.5px; line-height: 1.45; color: var(--o-ink-2); }
#view-agent .sg-meta { margin: 8px 0 0; font-size: 13px; color: var(--o-muted); }
#view-agent .sg-due { color: var(--o-p2); font-weight: 600; }
#view-agent .sg-conflict { margin: 10px 0 0; font-size: 13.5px; color: var(--o-p2); }
#view-agent .sg-target, #view-agent .sg-place { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; font-size: 13.5px; color: var(--o-muted); }
#view-agent .sg-place select { min-height: 32px; max-width: 100%; padding: 4px 28px 4px 10px; border: 1px solid var(--o-line-strong); border-radius: 999px; background: var(--o-raise-2); color: var(--o-ink); font: inherit; font-weight: 600; }
#view-agent .sg-task-link { min-height: 0; width: auto; padding: 0; text-align: left; line-height: 1.35; border: 0; background: none; color: var(--o-ink); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
#view-agent .sg-actions { position: relative; display: flex; align-items: center; gap: 8px; margin: 12px 0 0; }
#view-agent .sg-primary { min-height: 40px; padding: 0 18px; border-radius: 999px; font-size: 15px; }
#view-agent .sg-later, #view-agent .sg-more > summary { min-height: 40px; padding: 0 12px; border: 0; border-radius: 999px; background: none; color: var(--o-muted); font: inherit; font-size: 14.5px; cursor: pointer; }
#view-agent .sg-later:hover, #view-agent .sg-more > summary:hover { background: var(--o-raise-2); color: var(--o-ink); }
#view-agent .sg-more { margin-left: auto; }
#view-agent .sg-more > summary { display: grid; place-items: center; list-style: none; font-size: 20px; line-height: 1; }
#view-agent .sg-more > summary::-webkit-details-marker { display: none; }
#view-agent .sg-menu { position: absolute; right: 0; top: 44px; z-index: 5; display: grid; min-width: 160px; padding: 6px; border: 1px solid var(--o-line-strong); border-radius: 12px; background: var(--o-raise-2); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
#view-agent .sg-menu button { min-height: 40px; padding: 0 12px; border: 0; border-radius: 8px; background: none; color: var(--o-ink); font: inherit; font-size: 14.5px; text-align: left; cursor: pointer; }
#view-agent .sg-menu button:hover { background: var(--o-raise); }
#view-agent .sg-details { margin: 10px 0 0; font-size: 13.5px; color: var(--o-ink-2); }
#view-agent .sg-details > summary { min-height: 32px; display: flex; align-items: center; color: var(--o-muted); cursor: pointer; }
#view-agent .sg-details p { margin: 6px 0; line-height: 1.45; }
#view-agent .sg-changes, #view-agent .sg-sources { margin: 6px 0; padding: 0; list-style: none; }
#view-agent .sg-changes li, #view-agent .sg-sources li { padding: 3px 0; }
#view-agent .sg-changes span { color: var(--o-muted); }
#view-agent .sg-sources a { color: var(--o-accent-ink); }
#view-agent .agent-calm { padding: 18px 2px; color: var(--o-muted); }
#view-agent .agent-calm strong { display: block; margin-bottom: 4px; font-size: 16px; color: var(--o-ink); }
#view-agent .agent-calm p { margin: 0; font-size: 14px; max-width: 52ch; }
#view-agent .agent-yours { margin: 0 0 22px; }
#view-agent .agent-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--o-accent); }
#view-agent .agent-work-row { display: grid; gap: 2px; width: 100%; min-height: 52px; padding: 10px 2px; border: 0; border-bottom: 1px solid var(--o-line); background: none; color: var(--o-ink); font: inherit; text-align: left; cursor: pointer; }
#view-agent .agent-work-title { font-size: 15px; font-weight: 600; }
#view-agent .agent-work-line { font-size: 13.5px; color: var(--o-muted); }
#view-agent .agent-work-row.is-needs .agent-work-line { color: var(--o-accent-ink); }
#view-agent .agent-quiet { margin: 0 0 8px; color: var(--o-muted); font-size: 14px; }
#view-agent .agent-quiet > summary { min-height: 40px; display: flex; align-items: center; cursor: pointer; }
#view-agent .agent-quiet .muted { margin: 2px 0 6px; font-size: 13px; }
@media (max-width: 599px) {
 #view-agent .sg-card { padding: 14px 14px 10px; }
 #view-agent .sg-first .sg-title { font-size: 18px; }
 #view-agent .sg-primary { flex: 1 1 auto; }
}

/* Agent tab zones: each kind of exchange has its own color, icon and action, so it never reads as one blended list. */
#view-agent { --zn: #f5a524; --zb: #3b9eff; --zd: #30c48d; --za: #a78bfa; }
#view-agent .agent-jump { position: sticky; top: 0; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0 0 18px; padding: 8px 0; background: var(--o-bg, #000); }
#view-agent .agent-jump button { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 58px; padding: 8px 12px; border: 1px solid color-mix(in srgb, var(--zc) 40%, transparent); border-radius: 14px; background: color-mix(in srgb, var(--zc) 12%, transparent); color: var(--o-ink); font: inherit; text-align: left; cursor: pointer; }
#view-agent .agent-jump button strong { font-size: 22px; line-height: 1; color: var(--zc); }
#view-agent .agent-jump button span { font-size: 12.5px; color: var(--o-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
#view-agent .agent-jump button:disabled { opacity: .45; cursor: default; border-color: var(--o-line); background: none; }
#view-agent .agent-jump button:disabled strong { color: var(--o-muted); }
#view-agent .agent-jump-needs, #view-agent .zone-needs { --zc: var(--zn); }
#view-agent .agent-jump-back, #view-agent .zone-back { --zc: var(--zb); }
#view-agent .agent-jump-done, #view-agent .zone-done { --zc: var(--zd); }
#view-agent .agent-jump-add, #view-agent .zone-add { --zc: var(--za); }
#view-agent .agent-zone { scroll-margin-top: 84px; margin: 0 0 16px; padding: 14px 14px 6px; border: 1px solid color-mix(in srgb, var(--zc) 30%, var(--o-line)); border-left: 4px solid var(--zc); border-radius: 16px; background: color-mix(in srgb, var(--zc) 6%, var(--o-bg, transparent)); }
#view-agent .agent-zone.is-empty { padding: 10px 14px; border-color: var(--o-line); border-left-color: color-mix(in srgb, var(--zc) 45%, var(--o-line)); background: none; }
#view-agent .agent-zone-head { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 10px; }
#view-agent .agent-zone.is-empty .agent-zone-head { margin: 0; }
#view-agent .agent-zone-icon { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: color-mix(in srgb, var(--zc) 22%, transparent); color: var(--zc); font-weight: 700; font-size: 15px; }
#view-agent .agent-zone-head h2 { display: flex; align-items: center; gap: 8px; margin: 3px 0 0; font-size: 16px; font-weight: 700; color: var(--o-ink); }
#view-agent .agent-zone.is-empty .agent-zone-head h2 { font-size: 14.5px; font-weight: 600; color: var(--o-ink-2); }
#view-agent .agent-zone-count { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--zc); color: #0b0b0c; font-size: 12.5px; text-align: center; }
#view-agent .agent-zone-head p { margin: 2px 0 0; font-size: 13.5px; color: var(--o-muted); }
#view-agent .agent-zone-empty { margin: 4px 0 0 38px; font-size: 13.5px; color: var(--o-muted); }
#view-agent .agent-row { margin: 0 0 8px; padding: 12px 14px; border: 1px solid var(--o-line); border-radius: 12px; background: var(--o-raise); }
#view-agent .agent-row-main { display: block; width: 100%; min-height: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
#view-agent .agent-row-title { display: block; font-size: 15.5px; font-weight: 650; color: var(--o-ink); }
#view-agent .agent-row-line { display: block; margin-top: 3px; font-size: 14px; line-height: 1.45; color: var(--o-ink-2); }
#view-agent .agent-row-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
#view-agent .agent-row-actions button { min-height: 36px; padding: 0 14px; border-radius: 999px; font-size: 14px; }
#view-agent .agent-row-actions .primary { background: var(--zc); border-color: var(--zc); color: #0b0b0c; font-weight: 650; }
/* Mark done is an action, not a status: a plain outline with an empty circle, like the circle on a task row. Green only once it is done. */
#view-agent .agent-complete:not(.primary) { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--o-line-strong); background: none; color: var(--o-ink); font-weight: 600; }
#view-agent .agent-complete:not(.primary):hover { border-color: var(--o-muted); }
#view-agent .agent-done-ring { width: 14px; height: 14px; flex: none; border: 1.6px solid currentColor; border-radius: 50%; opacity: .75; }
#view-agent .agent-quiet-btn { border: 0; background: none; color: var(--o-muted); }
#view-agent .agent-quiet-btn:hover { color: var(--o-ink); background: var(--o-raise-2); }
#view-agent .zone-add .sg-card { border-color: var(--o-line); }
#view-agent .zone-add .sg-first { border-color: color-mix(in srgb, var(--za) 55%, var(--o-line)); }
#view-agent .zone-add .sg-primary { background: var(--za); border-color: var(--za); color: #0b0b0c; }
@media (max-width: 520px) { #view-agent .agent-jump { gap: 6px; } #view-agent .agent-jump button { min-height: 52px; padding: 6px 8px; } #view-agent .agent-jump button strong { font-size: 19px; } #view-agent .agent-jump button span { font-size: 11.5px; } }
:root[data-theme="light"] #view-agent { --zn: #b86e00; --zb: #1a73e8; --zd: #138a5e; --za: #7c4ddb; }
:root[data-theme="light"] #view-agent .agent-zone-count, :root[data-theme="light"] #view-agent .agent-row-actions .primary, :root[data-theme="light"] #view-agent .zone-add .sg-primary { color: #fff; }

/* Scan: one button and one plain status line. */
#view-agent .agent-scanbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 16px; padding: 10px 10px 10px 16px; border: 1px solid var(--o-line); border-radius: 14px; background: var(--o-raise); }
#view-agent .agent-scanbar p { display: flex; align-items: center; gap: 9px; margin: 0; font-size: 14.5px; color: var(--o-ink-2); }
#view-agent .agent-scan-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--o-muted); }
#view-agent .agent-scanbar.is-queued .agent-scan-dot { background: #f5a524; }
#view-agent .agent-scanbar.is-running .agent-scan-dot { background: #3b9eff; animation: agent-scan-pulse 1.2s ease-in-out infinite; }
#view-agent .agent-scan-btn { flex: none; min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--o-accent, #0a84ff); color: #fff; font: inherit; font-size: 15px; font-weight: 650; cursor: pointer; }
#view-agent .agent-scan-btn:disabled { background: var(--o-raise-2); color: var(--o-muted); cursor: default; }
@keyframes agent-scan-pulse { 50% { opacity: .35; transform: scale(.7); } }

/* All caught up: one calm card instead of empty boxes. */
#view-agent .agent-clear { padding: 34px 20px; text-align: center; border: 1px dashed var(--o-line-strong); border-radius: 16px; }
#view-agent .agent-clear-mark { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: color-mix(in srgb, #30c48d 18%, transparent); color: #30c48d; font-size: 22px; font-weight: 700; }
#view-agent .agent-clear h2 { margin: 12px 0 4px; font-size: 18px; color: var(--o-ink); }
#view-agent .agent-clear p { margin: 0 auto; max-width: 36ch; font-size: 14.5px; color: var(--o-muted); }

/* Arrivals and departures: new items fade in with a "New" tag; acted-on items slide away. */
#view-agent .is-arriving { animation: agent-arrive .45s cubic-bezier(.2, .9, .3, 1.1) both; }
#view-agent .is-new { position: relative; box-shadow: 0 0 0 1px color-mix(in srgb, var(--zc, #3b9eff) 55%, transparent), 0 0 18px color-mix(in srgb, var(--zc, #3b9eff) 22%, transparent); }
#view-agent .is-new::after { content: "New"; position: absolute; top: 10px; right: 12px; padding: 1px 8px; border-radius: 999px; background: var(--zc, #3b9eff); color: #0b0b0c; font-size: 11.5px; font-weight: 700; }
#view-agent .is-leaving { animation: agent-leave .22s ease-in forwards; pointer-events: none; }
@keyframes agent-arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes agent-leave { to { opacity: 0; transform: translateX(24px); } }
#view-agent .is-new .agent-row-title, #view-agent .is-new .sg-title { padding-right: 48px; }
@media (prefers-reduced-motion: reduce) { #view-agent .is-arriving, #view-agent .is-leaving, #view-agent .agent-scanbar.is-running .agent-scan-dot { animation: none; } #view-agent .is-leaving { opacity: .4; } }

/* Suggestion actions: Add, Tomorrow (hidden until 8 am), and a one-tap Ignore. */
#view-agent .sg-actions { flex-wrap: wrap; }
#view-agent .sg-dismiss { min-height: 40px; margin-left: auto; padding: 0 12px; border: 0; border-radius: 999px; background: none; color: var(--o-muted); font: inherit; font-size: 14.5px; cursor: pointer; }
#view-agent .sg-dismiss:hover { background: color-mix(in srgb, #ff6b6b 14%, transparent); color: #ff8a8a; }
#view-agent .sg-dismiss:disabled { opacity: .5; cursor: default; }

/* Swipe: the card follows the finger; a green "Add" or red "Ignore" label shows the direction and brightens once it will act. */
#view-agent [data-swipe] { position: relative; touch-action: pan-y; transition: transform .2s ease, opacity .2s ease; }
#view-agent [data-swipe].is-swiping { transition: none; user-select: none; }
#view-agent [data-swipe][data-swipe-dir]::before { position: absolute; top: 12px; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; opacity: .55; pointer-events: none; }
#view-agent [data-swipe][data-swipe-dir="right"]::before { left: 12px; background: #30c48d; color: #06140e; }
#view-agent [data-swipe][data-swipe-dir="left"]::before { right: 12px; background: #ff6b6b; color: #1c0606; }
#view-agent [data-swipe="suggestion"][data-swipe-dir="right"]::before { content: "Add"; }
#view-agent [data-swipe="suggestion"][data-swipe-dir="left"]::before { content: "Ignore"; }
#view-agent [data-swipe="done"][data-swipe-dir="right"]::before { content: "Complete"; }
#view-agent [data-swipe="done"][data-swipe-dir="left"]::before { content: "Not yet"; }
#view-agent [data-swipe].swipe-armed::before { opacity: 1; }
#view-agent [data-swipe].swipe-armed[data-swipe-dir="right"] { box-shadow: 0 0 0 2px #30c48d; }
#view-agent [data-swipe].swipe-armed[data-swipe-dir="left"] { box-shadow: 0 0 0 2px #ff6b6b; }
@media (prefers-reduced-motion: reduce) { #view-agent [data-swipe] { transition: none; } }
/* Suggestion counter, Cards/List toggle and compact list with sources */
#view-agent .sg-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 10px; }
#view-agent .sg-counter { margin: 0; font-size: 14px; color: var(--o-ink-2); }
#view-agent .sg-counter strong { color: var(--o-ink); font-weight: 700; }
#view-agent .sg-view { display: inline-flex; padding: 2px; border: 1px solid var(--o-line); border-radius: 999px; background: var(--o-raise); }
#view-agent .sg-view button { min-height: 32px; padding: 0 14px; border: 0; border-radius: 999px; background: none; color: var(--o-ink-2); font-size: 13.5px; font-weight: 600; }
#view-agent .sg-view button[aria-pressed="true"] { background: var(--za); color: #0b0b0c; }
:root[data-theme="light"] #view-agent .sg-view button[aria-pressed="true"] { color: #fff; }
#view-agent .sg-more-link { display: block; width: 100%; min-height: 44px; margin: 2px 0 0; border: 1px dashed color-mix(in srgb, var(--za) 50%, var(--o-line)); border-radius: 12px; background: none; color: var(--za); font-size: 14.5px; font-weight: 600; }
#view-agent .sg-list { border: 1px solid var(--o-line); border-radius: 14px; background: var(--o-raise); overflow: hidden; }
#view-agent .sg-row { display: flex; align-items: center; gap: 8px; min-height: 56px; padding: 8px 8px 8px 14px; border-top: 1px solid var(--o-line); background: var(--o-raise); }
#view-agent .sg-row:first-child { border-top: 0; }
#view-agent .sg-row-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
#view-agent .sg-row-title { font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--o-ink); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
#view-agent .sg-row-meta { font-size: 12.5px; line-height: 1.35; color: var(--o-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#view-agent .sg-row-source { color: var(--za); text-decoration: none; font-weight: 600; }
#view-agent .sg-row-source:hover { text-decoration: underline; }
#view-agent .sg-row-kind { color: var(--zb); font-weight: 600; }
#view-agent .sg-row .sg-due { color: var(--zn); }
#view-agent .sg-row-add { flex: none; min-height: 36px; padding: 0 14px; border: 1px solid var(--za); border-radius: 999px; background: var(--za); color: #0b0b0c; font-size: 14px; font-weight: 650; }
:root[data-theme="light"] #view-agent .sg-row-add { color: #fff; }
#view-agent .sg-row-x { flex: none; width: 36px; height: 36px; border: 1px solid var(--o-line); border-radius: 999px; background: none; color: var(--o-muted); font-size: 14px; }
#view-agent .sg-row-x:hover { color: #ff6b6b; border-color: #ff6b6b; }
#view-agent .sg-row[data-swipe-dir]::before { top: 50%; transform: translateY(-50%); }
#view-agent .sg-row.is-new { box-shadow: inset 3px 0 0 var(--za); }
#view-agent .sg-row.is-new::after { content: none; }
#view-agent .sg-row.is-new .sg-row-title::before { content: "New"; display: inline-block; margin-right: 6px; padding: 0 7px; border-radius: 999px; background: var(--za); color: #0b0b0c; font-size: 11px; font-weight: 700; line-height: 18px; vertical-align: 2px; }

/* In progress: what your agent has right now, each with its state and a way into the conversation. */
#view-agent { --zw: #22c1ee; }
#view-agent .agent-jump-working, #view-agent .zone-working { --zc: var(--zw); }
#view-agent .agent-jump { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
#view-agent .agent-state-pill { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 10px; border-radius: 999px; background: color-mix(in srgb, var(--zc) 16%, transparent); color: var(--o-ink); font-size: 13px; font-weight: 600; }
#view-agent .agent-state-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--zc); animation: aiPulse 1.6s ease-in-out infinite; }
#view-agent .agent-state-pill.is-queued::before { animation: none; opacity: .6; }
@media (prefers-reduced-motion: reduce) { #view-agent .agent-state-pill::before { animation: none; } }
@media (max-width: 520px) { #view-agent .agent-jump { gap: 6px; } #view-agent .agent-jump button { padding: 8px 8px; } }

/* Suggestion pickers: Adds to and Priority sit side by side; an update can switch to "Add as a new task instead". */
#view-agent .sg-pickers, #chopReview .sg-pickers { display: flex; flex-wrap: wrap; gap: 4px 14px; }
#view-agent .sg-target select, #view-agent .sg-priority select, #chopReview .sg-place select { min-height: 32px; max-width: 100%; padding: 4px 28px 4px 10px; border: 1px solid var(--o-line-strong); border-radius: 999px; background: var(--o-raise-2); color: var(--o-ink); font: inherit; font-weight: 600; }
#view-agent .sg-target select { max-width: min(100%, 420px); text-overflow: ellipsis; }
#chopReview .chop-sg-target .sg-place { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; font-size: 14px; color: var(--o-muted); }
#chopReview .chop-sg-target select { font-size: 16px !important; }
#view-agent .agent-read .agent-row { margin-top: 8px; }
/* Project and priority on one line, even on phones: the category picker shrinks, priority keeps its size. */
#view-agent .sg-pickers, #chopReview .sg-pickers { flex-wrap: nowrap; align-items: center; gap: 10px; }
#view-agent .sg-pickers .sg-place, #chopReview .sg-pickers .sg-place { flex-wrap: nowrap; min-width: 0; margin-top: 10px; }
#view-agent .sg-pickers .sg-place:first-child, #chopReview .sg-pickers .sg-place:first-child { flex: 1 1 auto; }
#view-agent .sg-pickers .sg-priority, #chopReview .sg-pickers .sg-priority { flex: none; }
#view-agent .sg-pickers select, #chopReview .sg-pickers select { min-width: 0; text-overflow: ellipsis; }
#view-agent .sg-pickers .sg-place:first-child select, #chopReview .sg-pickers .sg-place:first-child select { flex: 1 1 auto; width: 100%; max-width: 260px; }
#view-agent .sg-pickers .sg-place > span, #chopReview .sg-pickers .sg-place > span { flex: none; white-space: nowrap; }
#view-agent .sg-pickers, #chopReview .sg-pickers { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
#view-agent .sg-pickers .sg-place, #chopReview .sg-pickers .sg-place { display: flex; }
#view-agent .sg-pickers .sg-place:first-child select, #chopReview .sg-pickers .sg-place:first-child select { flex: 1 1 0; width: 0; min-width: 0; max-width: 260px; }
#view-agent .sg-pickers .sg-priority select, #chopReview .sg-pickers .sg-priority select { width: auto; flex: none; }
@media (max-width: 520px) {
  #view-agent .sg-pickers .sg-place > span, #chopReview .sg-pickers .sg-place > span { display: none; }
  #view-agent .sg-pickers .sg-priority select, #chopReview .sg-pickers .sg-priority select { width: 128px; padding-left: 12px; padding-right: 24px; }
}

/* Tap a suggestion's words to say it your own way: plain text that turns into a quiet edit box on hover and focus. */
#view-agent .sg-editable { margin-left: -6px; margin-right: -6px; padding: 2px 6px; border-radius: 8px; cursor: text; outline: none; transition: background .15s ease, box-shadow .15s ease; overflow-wrap: anywhere; }
#view-agent .sg-editable:hover { background: color-mix(in srgb, var(--o-ink) 6%, transparent); }
#view-agent .sg-editable:focus { background: var(--o-raise-2); box-shadow: 0 0 0 1.5px var(--o-accent); }
#view-agent .sg-editable:empty::before { content: "Type your own words"; color: var(--o-muted); }

/* One accent per section (Adi, 2026-11-24): no thick colored stripe on the section and no colored ring on each card
   inside it. The section keeps a thin tinted border; cards stay neutral and only a small "New" pill marks new ones.
   In progress uses the Agent purple, like everything else your agent does. */
#view-agent { --zw: var(--za); }
#view-agent .agent-zone, #view-agent .agent-zone.is-empty { border-left-width: 1px; border-left-color: color-mix(in srgb, var(--zc) 30%, var(--o-line)); }
#view-agent .agent-zone.is-empty { border-left-color: var(--o-line); }
#view-agent .agent-row.is-new, #view-agent .sg-card.is-new { box-shadow: none; }
