/* Chopping Block: a daily review (one task at a time, Chop or Skip) and today's block, sorted by priority.
   Uses the Orbit 30 tokens; #3B9EFF (--o-accent) only for the primary "Chop today" action. */

/* The page */
body.orbit-v27 #view-chop.chop-page.active { max-width: 1050px; margin: 0 auto; padding-top: 8px; padding-bottom: 120px; }
body.orbit-v27 #view-chop #startChopReview { min-height: 46px; padding: 10px 22px; border-radius: 12px; border: 1px solid var(--o-accent); background: var(--o-accent); color: #fff; font-size: 16px; font-weight: 650; cursor: pointer; }
body.orbit-v27 #startChopReview[hidden] { display: none; }

body.orbit-v27 .chop-group { margin: 0 0 28px; }
body.orbit-v27 .chop-group-head { display: flex; align-items: center; gap: 10px; margin: 0; padding: 0 0 10px; border-bottom: 1px solid var(--o-line); font-size: 15px; font-weight: 650; letter-spacing: .01em; color: var(--o-ink-2); }
body.orbit-v27 .chop-group-count { color: var(--o-muted); font-weight: 500; font-variant-numeric: tabular-nums; }
body.orbit-v27 .chop-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; background: var(--o-p3); }
body.orbit-v27 .tier-1 > .chop-group-head .chop-dot, body.orbit-v27 .chop-priority.tier-1 .chop-dot { background: var(--o-p1); }
body.orbit-v27 .tier-2 > .chop-group-head .chop-dot, body.orbit-v27 .chop-priority.tier-2 .chop-dot { background: var(--o-p2); }
body.orbit-v27 .tier-3 > .chop-group-head .chop-dot, body.orbit-v27 .chop-priority.tier-3 .chop-dot { background: var(--o-p3); }
body.orbit-v27 .tier-4 > .chop-group-head .chop-dot, body.orbit-v27 .chop-priority.tier-4 .chop-dot { background: var(--o-p4); }
body.orbit-v27 .chop-list .task-row-meta { position: relative; }
body.orbit-v27 .chop-remove { width: 30px; height: 30px; min-height: 0; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--o-faint); font-size: 20px; line-height: 1; cursor: pointer; box-shadow: none; }
body.orbit-v27 .chop-remove:hover, body.orbit-v27 .chop-remove:focus-visible { background: var(--o-raise-2); color: var(--o-ink); }
body.orbit-v27 .chop-empty { padding: 18px 20px; border: 1px solid var(--o-line); border-radius: 14px; color: var(--o-muted); font-size: 16px; }
body.orbit-v27 .chop-empty p { margin: 0; }

/* Nav count */
.chop-nav b:empty, .chop-nav b[hidden] { display: none; }

/* The review: one full-height card at a time. */
dialog.chop-review { width: min(560px, 100vw); max-width: 100vw; height: min(720px, 100dvh); max-height: 100dvh; margin: auto; padding: 0; border: 1px solid var(--o-line-strong, #2a2a2e); border-radius: 22px; background: var(--o-bg, #000); color: var(--o-ink, #fff); overflow: hidden; }
/* Same soft blur as the add-task pop-up (Adi, 2026-11-11). */
dialog.chop-review::backdrop { background: rgba(0, 0, 0, .45); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.chop-review-inner { display: flex; flex-direction: column; height: 100%; padding: max(16px, env(safe-area-inset-top)) 20px max(18px, env(safe-area-inset-bottom)); box-sizing: border-box; }
.chop-review-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.chop-progress-text { color: var(--o-muted); font-size: 15px; font-variant-numeric: tabular-nums; }
dialog.chop-review .chop-quiet, body.orbit-v27 .chop-quiet { min-height: 40px; padding: 6px 10px; border: 0; border-radius: 10px; background: transparent; color: var(--o-accent-ink, #6cb2ff); font-size: 15px; font-weight: 550; cursor: pointer; box-shadow: none; }
.chop-quiet:hover { background: var(--o-accent-soft, rgba(59, 158, 255, .12)); }
.chop-quiet:disabled { color: var(--o-faint); background: none; cursor: default; }
.chop-progress { height: 4px; margin: 10px 0 0; border-radius: 4px; background: var(--o-line); overflow: hidden; }
.chop-progress span { display: block; height: 100%; width: 0; background: var(--o-accent); border-radius: 4px; transition: width .25s ease; }
.chop-review-body { flex: 1; display: flex; flex-direction: column; min-height: 0; padding-top: 22px; }

.chop-cat { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 17px; font-weight: 650; color: var(--cat, var(--o-ink)); }
.chop-cat-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--cat, var(--o-muted)); }
.chop-cat-count { margin-left: auto; color: var(--o-muted); font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }

.chop-card { position: relative; flex: 1; display: flex; flex-direction: column; gap: 14px; min-height: 0; padding: 26px 24px; border: 1px solid var(--o-line-strong); border-radius: 18px; background: var(--o-raise); overflow: auto; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; transition: transform .2s ease, opacity .2s ease, border-color .15s ease; }
.chop-card.is-dragging { transition: none; cursor: grabbing; }
.chop-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--o-muted); font-size: 14px; }
.chop-priority { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--o-ink-2); }
.chop-card .chop-dot { width: 9px; height: 9px; border-radius: 50%; }
.chop-card-title { margin: 0; font-size: clamp(24px, 5.4vw, 30px); line-height: 1.25; font-weight: 650; letter-spacing: -.02em; color: var(--o-ink); }
.chop-card-description { margin: 0; font-size: 17px; line-height: 1.5; color: var(--o-ink-2); white-space: pre-line; }
/* Big Tinder-style stamps (Adi, 2026-11-11): they fade in as soon as you start dragging and are fully on at the swipe point. */
.chop-stamp { position: absolute; z-index: 2; top: 22px; padding: 6px 16px; border: 4px solid; border-radius: 12px; font-size: clamp(30px, 8vw, 42px); line-height: 1.05; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; background: color-mix(in srgb, var(--o-raise, #121214) 80%, transparent); opacity: 0; transform: scale(.85); transition: opacity .12s ease, transform .12s ease; pointer-events: none; }
.chop-stamp-yes { left: 20px; color: var(--o-accent, #3b9eff); rotate: -12deg; }
.chop-stamp-no { right: 20px; color: #ff6b5f; rotate: 12deg; }
.chop-card[data-lean="chop"] .chop-stamp-yes, .chop-card[data-lean="skip"] .chop-stamp-no { opacity: calc(.35 + .65 * var(--lean-p, 1)); transform: scale(calc(.85 + .2 * var(--lean-p, 1))); }
.chop-card[data-lean="chop"] { border-color: var(--o-accent); }
.chop-card[data-lean="skip"] { border-color: #ff6b5f; }
.chop-card[data-lean="chop"] .chop-card-meta, .chop-card[data-lean="skip"] .chop-card-meta { visibility: hidden; }

.chop-actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 12px; margin-top: 18px; }
dialog.chop-review .chop-actions button { min-height: 58px; border-radius: 14px; font-size: 18px; font-weight: 650; cursor: pointer; }
dialog.chop-review .chop-skip { border: 1px solid var(--o-line-strong); background: var(--o-raise-2); color: var(--o-ink); }
dialog.chop-review .chop-yes { border: 1px solid var(--o-accent); background: var(--o-accent); color: #fff; }
.chop-review-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; margin-top: 8px; }
.chop-tally { color: var(--o-muted); font-size: 15px; font-variant-numeric: tabular-nums; }

.chop-finish { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 0 6px 40px; }
.chop-finish-kicker { margin: 0; color: var(--o-accent-ink); font-size: 15px; font-weight: 650; }
.chop-finish h2 { margin: 0; font-size: 30px; line-height: 1.2; letter-spacing: -.02em; color: var(--o-ink); }
.chop-finish p { margin: 0; font-size: 17px; line-height: 1.5; color: var(--o-ink-2); }
dialog.chop-review .chop-finish-go { justify-self: start; align-self: flex-start; margin-top: 12px; min-height: 50px; padding: 10px 24px; border-radius: 12px; border: 1px solid var(--o-accent); background: var(--o-accent); color: #fff; font-size: 17px; font-weight: 650; cursor: pointer; }

/* Phones: the review fills the screen. */
@media (max-width: 599px) {
  dialog.chop-review { width: 100vw; height: 100dvh; border: 0; border-radius: 0; }
  .chop-card { padding: 22px 20px; }
}
@media (prefers-reduced-motion: reduce) { .chop-card, .chop-progress span { transition: none; } }
body.orbit-v27 #view-chop #startChopReview.is-quiet { border-color: var(--o-line-strong); background: transparent; color: var(--o-ink); font-weight: 600; }

/* Review one category: a row of chips under the main button. */
body.orbit-v27 .chop-cat-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 12px; border: 1px solid var(--o-line-strong); border-radius: 999px; background: var(--o-raise); color: var(--o-ink); font-size: 15px; font-weight: 550; cursor: pointer; box-shadow: none; }
body.orbit-v27 .chop-cat-chip:hover { border-color: var(--cat, var(--o-line-strong)); }
body.orbit-v27 .chop-cat-chip small { color: var(--o-muted); font-size: 13px; font-variant-numeric: tabular-nums; }
body.orbit-v27 .chop-cat-chip.is-done { color: var(--o-muted); background: transparent; }
dialog.chop-review .chop-finish-more { align-self: flex-start; margin-top: 4px; }

/* Focus home: the Chopping Block is the main event. */
body.orbit-v27 .focus-home .home-block-progress { height: 4px; margin: -4px 0 16px; border-radius: 4px; background: var(--o-line); overflow: hidden; }
body.orbit-v27 .focus-home .home-block-progress[hidden] { display: none; }
body.orbit-v27 .focus-home .home-block-progress span { display: block; height: 100%; width: 0; border-radius: 4px; background: var(--o-accent); transition: width .3s ease; }
body.orbit-v27 .focus-home .home-block-list { border-top: 0; }
body.orbit-v27 .focus-home .home-block-start { display: grid; gap: 10px; justify-items: start; padding: 22px; border: 1px solid var(--o-line-strong); border-radius: 16px; background: var(--o-raise); }
body.orbit-v27 .focus-home .home-block-start h3 { margin: 0; font-size: 21px; line-height: 1.3; font-weight: 650; color: var(--o-ink); }
body.orbit-v27 .focus-home .home-block-start p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--o-ink-2); max-width: 34em; }
body.orbit-v27 .focus-home .home-block-start .primary { margin-top: 6px; min-height: 46px; padding: 10px 22px; border-radius: 12px; border: 1px solid var(--o-accent); background: var(--o-accent); color: #fff; font-size: 16px; font-weight: 650; cursor: pointer; }
body.orbit-v27 .focus-home .home-block-start.is-calm, body.orbit-v27 .focus-home .home-block-start.is-done { background: transparent; border-color: var(--o-line); }
body.orbit-v27 .focus-home .home-block-start .home-text-button { margin: 0 0 0 -12px; }
body.orbit-v27 .focus-home .home-block-note { color: var(--o-muted); font-size: 14px; }
body.orbit-v27 .focus-home .home-next { margin: 0 0 8px; padding: 6px 18px 4px; border: 1px solid var(--o-line-strong); border-radius: 16px; background: var(--o-raise); }
body.orbit-v27 .focus-home .home-next-label, body.orbit-v27 .focus-home .home-then-label { margin: 10px 0 0; color: var(--o-accent-ink); font-size: 13px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; }
body.orbit-v27 .focus-home .home-then-label { margin: 22px 0 4px; color: var(--o-muted); }
body.orbit-v27 .focus-home .home-next .task-row { border-bottom: 0; }
body.orbit-v27 .focus-home .home-next-row .task-title { font-size: 21px; line-height: 1.35; font-weight: 650; }
body.orbit-v27 .focus-home .home-next-row .task-list-description { font-size: 16px; }
body.orbit-v27 .focus-home #homeChopReview[hidden] { display: none; }
body.orbit-v27 .focus-home .home-block .home-section-head h2, body.orbit-v27 .focus-home .home-block .home-count, body.orbit-v27 .focus-home #homeChopReview { white-space: nowrap; }
body.orbit-v27 .focus-home .home-next { padding: 4px 12px 2px; }
body.orbit-v27 .focus-home .home-next .task-row, html[data-theme="dark"] body.orbit-v26 .focus-home .home-next .task-row { background: transparent; }
@media (max-width: 480px) { body.orbit-v27 .focus-home .home-next-row .task-title { font-size: 19px; } }

/* Compact top (2026-11-03): one row with the title, a quiet date + counts line and the review button;
   categories with tasks left sit in one sideways-scrolling strip, so the chopped tasks start near the top. */
body.orbit-v27 .chop-head { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; margin: 4px 0 14px; }
body.orbit-v27 .chop-head-text { min-width: 0; }
body.orbit-v27 .chop-head h1 { margin: 0; font-size: clamp(24px, 3vw, 30px); line-height: 1.15; letter-spacing: -.02em; font-weight: 700; color: var(--o-ink); }
body.orbit-v27 .chop-lead { margin: 4px 0 0; font-size: 15px; line-height: 1.4; color: var(--o-muted); }
body.orbit-v27 .chop-date { color: var(--o-muted); font-weight: 500; }
body.orbit-v27 .chop-date:not(:empty) + #chopLead:not(:empty)::before { content: "· "; }
body.orbit-v27 #view-chop #startChopReview { min-height: 40px; padding: 8px 16px; border-radius: 10px; font-size: 15px; white-space: nowrap; flex: none; }
body.orbit-v27 .chop-categories { margin: 0 0 20px; }
body.orbit-v27 .chop-categories:empty { display: none; }
body.orbit-v27 .chop-cats { display: flex; align-items: center; flex-wrap: nowrap; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--content-gutter, 16px)); padding: 2px var(--content-gutter, 16px); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 24px), transparent); }
body.orbit-v27 .chop-cats::-webkit-scrollbar { display: none; }
body.orbit-v27 .chop-cats-label { flex: none; margin: 0 2px 0 0; color: var(--o-muted); font-size: 13px; font-weight: 500; }
body.orbit-v27 .chop-cats .chop-cat-chip { flex: none; min-height: 32px; padding: 4px 10px; gap: 6px; font-size: 13.5px; }

/* Review quick actions: fix the priority, mark something already done, or open it to edit, without leaving the review. */
dialog.chop-review button.chop-priority { min-height: 32px; margin: -6px 0 -6px -8px; padding: 4px 8px; border: 1px solid transparent; border-radius: 999px; background: transparent; color: var(--o-ink-2); font: inherit; font-weight: 600; cursor: pointer; box-shadow: none; }
dialog.chop-review button.chop-priority:hover, dialog.chop-review button.chop-priority:focus-visible { border-color: var(--o-line-strong); background: var(--o-raise-2); }
dialog.chop-review .chop-priority-cycle { margin-left: 2px; color: var(--o-faint); font-size: 12px; }
dialog.chop-review .chop-quick { display: flex; gap: 8px; margin-top: 12px; }
dialog.chop-review .chop-quick button { flex: 1; min-height: 42px; padding: 6px 12px; border: 1px solid var(--o-line); border-radius: 12px; background: transparent; color: var(--o-ink-2); font-size: 15px; font-weight: 550; cursor: pointer; box-shadow: none; }
@media (hover: hover) { dialog.chop-review .chop-quick button:hover { border-color: var(--o-line-strong); color: var(--o-ink); } }
dialog.chop-review .chop-quick [data-chop-done] span { color: var(--o-p3); font-weight: 700; }
dialog.chop-review .chop-actions { margin-top: 10px; }

/* Review: mark In progress or Waiting without leaving the card. */
.chop-review .chop-quick .chop-state[aria-pressed="true"].is-doing { color: #6cb2ff; border-color: rgba(59, 158, 255, .6); background: rgba(59, 158, 255, .14); }
.chop-review .chop-quick .chop-state[aria-pressed="true"].is-waiting { color: #f5b544; border-color: rgba(245, 165, 36, .6); background: rgba(245, 165, 36, .14); }
@media (max-width: 520px) { dialog.chop-review .chop-quick { flex-wrap: wrap; } dialog.chop-review .chop-quick button { flex: 1 1 calc(50% - 4px); } }
dialog.chop-review .chop-quick .chop-state { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.chop-review .chop-state-dot { width: 9px; height: 9px; border-radius: 50%; }
.chop-review .chop-state.is-doing .chop-state-dot { border: 1.5px solid #3b9eff; background: linear-gradient(90deg, #3b9eff 50%, transparent 50%); }
.chop-review .chop-state.is-waiting .chop-state-dot { background: #f5a524; }
/* In progress / Waiting: the card lifts away so it's clear Orbit moved to the next one */
.chop-review .chop-card.is-state-leaving { transform: translateY(-14px) scale(.98); opacity: 0; transition: transform .24s ease, opacity .24s ease; }
@media (prefers-reduced-motion: reduce) { .chop-review .chop-card.is-state-leaving { transition: none; } }

/* Today (2026-11-03): the page Orbit opens on. Agent line, morning review card, then today's plan. */
body.orbit-v27 .chop-head h1 { font-size: clamp(28px, 4vw, 34px); }
body.orbit-v27 .chop-needs-line { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; margin: 0 0 14px; padding: 10px 14px; border: 1px solid color-mix(in srgb, #f5a524 45%, var(--o-line)); border-radius: 12px; background: color-mix(in srgb, #f5a524 10%, transparent); color: var(--o-ink); font-size: 15px; font-weight: 600; text-align: left; cursor: pointer; box-shadow: none; }
body.orbit-v27 .chop-needs-dot { width: 9px; height: 9px; border-radius: 50%; background: #f5a524; flex: none; }
body.orbit-v27 .chop-needs-go { margin-left: auto; color: var(--o-muted); font-weight: 550; white-space: nowrap; }
body.orbit-v27 .chop-start { display: grid; gap: 8px; justify-items: start; margin: 0 0 18px; padding: 22px; border: 1px solid color-mix(in srgb, var(--o-accent) 45%, var(--o-line)); border-radius: 18px; background: linear-gradient(180deg, color-mix(in srgb, var(--o-accent) 12%, var(--o-raise)), var(--o-raise)); }
body.orbit-v27 .chop-start.is-continue { background: var(--o-raise); border-color: var(--o-line-strong); }
body.orbit-v27 .chop-start-kicker { margin: 0; color: var(--o-accent-ink, #6cb2ff); font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
body.orbit-v27 .chop-start h2 { margin: 0; font-size: 24px; line-height: 1.2; letter-spacing: -.015em; color: var(--o-ink); }
body.orbit-v27 .chop-start p:not(.chop-start-kicker) { margin: 0; font-size: 16px; line-height: 1.45; color: var(--o-ink-2); max-width: 34em; }
body.orbit-v27 .chop-start-bar { width: 100%; height: 4px; border-radius: 4px; background: var(--o-line); overflow: hidden; }
body.orbit-v27 .chop-start-bar span { display: block; height: 100%; background: var(--o-accent); border-radius: 4px; }
body.orbit-v27 .chop-start .primary { margin-top: 6px; min-height: 48px; padding: 10px 24px; border-radius: 12px; border: 1px solid var(--o-accent); background: var(--o-accent); color: #fff; font-size: 16px; font-weight: 650; cursor: pointer; }
body.orbit-v27 .chop-plan-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 6px 0 8px; }
body.orbit-v27 .chop-plan-head h2 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -.01em; color: var(--o-ink); }
body.orbit-v27 .chop-plan-count { color: var(--o-muted); font-size: 14px; font-variant-numeric: tabular-nums; }
body.orbit-v27 .chop-plan-bar { height: 4px; margin: 0 0 18px; border-radius: 4px; background: var(--o-line); overflow: hidden; }
body.orbit-v27 .chop-plan-bar span { display: block; height: 100%; background: #30c48d; border-radius: 4px; transition: width .3s ease; }
body.orbit-v27 .chop-waiting .chop-dot { background: #f5a524; }

/* Morning review: a suggestion from your agent. AI blue, same as the rest of Orbit's agent bits. */
.chop-review .chop-sg-card { justify-content: center; border-color: var(--spark-line, rgba(56, 152, 246, .42)); }
.chop-review .chop-sg-kind { display: flex; align-items: center; gap: 2px; margin: 0; color: var(--spark-ink, #3ba3f5); font-size: 15px; font-weight: 650; }
.chop-review .chop-sg-kind .ai-spark::before { margin-right: .3em; }
.chop-review .chop-sg-card .chop-card-title { font-size: clamp(28px, 6.4vw, 36px); line-height: 1.18; }
.chop-review .chop-sg-why { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--o-muted); font-size: 17px; white-space: normal; }
.chop-review .chop-sg-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; font-size: 15px; color: var(--o-muted); }
.chop-review .chop-sg-meta .is-due { color: #f5a524; font-weight: 600; }
/* Before and after for a change to a task: what it says now, struck through, and what it will say. */
.chop-review .chop-sg-diff { display: grid; gap: 10px; padding: 14px 16px; border-radius: 14px; background: var(--spark-soft, rgba(56, 152, 246, .12)); }
.chop-review .chop-sg-diff-task { margin: 0; font-size: 15px; font-weight: 600; color: var(--o-ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chop-review .chop-sg-diff-task span { color: var(--o-muted); font-weight: 500; }
.chop-review .chop-sg-change { display: grid; grid-template-columns: auto 1fr auto 1fr; align-items: baseline; gap: 4px 10px; font-size: 17px; }
.chop-review .chop-sg-field { color: var(--o-muted); font-size: 14px; font-weight: 600; min-width: 64px; }
.chop-review .chop-sg-from { color: var(--o-muted); }
.chop-review .chop-sg-from s { text-decoration-color: color-mix(in srgb, var(--o-muted) 70%, transparent); }
.chop-review .chop-sg-to { color: var(--o-ink); font-weight: 650; }
.chop-review .chop-sg-change small { display: none; }
.chop-review .chop-sg-arrow { color: var(--spark-ink, #3ba3f5); font-weight: 700; }
.chop-review .chop-sg-change.is-long { grid-template-columns: 1fr; gap: 2px; }
.chop-review .chop-sg-change.is-long .chop-sg-arrow { display: none; }
.chop-review .chop-sg-change.is-long small { display: inline; margin-right: 6px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.chop-review .chop-sg-change.is-long .chop-sg-from, .chop-review .chop-sg-change.is-long .chop-sg-to { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.chop-review .chop-sg-more { display: flex; justify-content: space-between; gap: 8px; margin-top: 10px; }
dialog.chop-review .chop-sg-more .is-muted { color: var(--o-muted); }
dialog.chop-review .chop-sg-card + .chop-actions { grid-template-columns: 1fr 1fr; }
dialog.chop-review .chop-sg-card + .chop-actions button { white-space: nowrap; padding: 0 10px; }
@media (max-width: 480px) { dialog.chop-review .chop-brand { display: none; } }

body.orbit-v27 .chop-snoozed { margin-top: 18px; }
body.orbit-v27 .chop-snoozed > summary { cursor: pointer; list-style: none; }
body.orbit-v27 .chop-snoozed > summary::-webkit-details-marker { display: none; }
body.orbit-v27 .chop-snoozed .chop-dot { background: #f5a524; }
body.orbit-v27 .chop-snoozed-row { display: block; width: 100%; min-height: 0; padding: 12px 2px; border: 0; border-bottom: 1px solid var(--o-line); border-radius: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
body.orbit-v27 .chop-snoozed-title { display: block; font-size: 15.5px; font-weight: 600; color: var(--o-ink); }
body.orbit-v27 .chop-snoozed-meta { display: block; margin-top: 2px; font-size: 13.5px; color: var(--o-muted); }
/* Three quick actions (Already done, Waiting, Edit) fit on one row on phones. */
@media (max-width: 520px) { dialog.chop-review .chop-quick { flex-wrap: nowrap; } dialog.chop-review .chop-quick button { flex: 1 1 auto; min-width: 0; padding: 6px 8px; font-size: 14px; white-space: nowrap; } }

/* One tap each (Adi, 2026-11-06): left = ignore, right = add. Small choices sit in the quick row above. */

/* Waiting: who (optional) and when to check back. The task leaves the review until then. */
dialog.chop-review .chop-waiting-panel { margin: 10px 0 0; padding: 14px; border: 1px solid color-mix(in srgb, #f5a524 45%, var(--o-line)); border-radius: 14px; background: color-mix(in srgb, #f5a524 8%, transparent); }
dialog.chop-review .chop-waiting-panel label, dialog.chop-review .chop-waiting-ask { display: block; margin: 0 0 6px; font-size: 13px; font-weight: 600; color: var(--o-muted); }
dialog.chop-review .chop-waiting-ask { margin-top: 12px; }
dialog.chop-review #chopWaitingWho { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--o-line-strong); border-radius: 10px; background: var(--o-raise); color: var(--o-ink); font-size: 16px !important; }
dialog.chop-review .chop-waiting-when { display: flex; gap: 8px; }
dialog.chop-review .chop-waiting-when button { flex: 1; min-height: 44px; border: 1px solid color-mix(in srgb, #f5a524 50%, var(--o-line)); border-radius: 12px; background: transparent; color: var(--o-ink); font-size: 15px; font-weight: 600; cursor: pointer; }
dialog.chop-review .chop-waiting-when button:hover { background: color-mix(in srgb, #f5a524 16%, transparent); }
dialog.chop-review .chop-waiting-when button { white-space: nowrap; padding: 0 8px; }

/* Today's plan (Adi, 2026-11-06): one plain list, a Sort menu and an optional Group toggle. */
body.orbit-v27 .chop-plan-tools { display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin: 0; color: var(--o-muted); font-size: 14px; }
/* Sort lives in the header row now (Adi, 2026-11-11): title on the left, "N of M done" and Sort on the right. */
body.orbit-v27 .chop-plan-head { align-items: center; flex-wrap: wrap; row-gap: 6px; }
body.orbit-v27 .chop-plan-head .chop-plan-count { margin-left: auto; }
body.orbit-v27 .chop-sort { display: inline-flex; align-items: center; gap: 6px; }
body.orbit-v27 .chop-sort select { min-height: 32px; padding: 2px 26px 2px 8px; border: 1px solid var(--o-line); border-radius: 8px; background-color: transparent; color: var(--o-ink-2); font-size: 14px !important; font-weight: 550; cursor: pointer; }
body.orbit-v27 .chop-plain { margin: 0 0 20px; }
body.orbit-v27 .chop-group-head { border-bottom: 0; }

/* Re-chop on purpose from Tasks (Adi, 2026-11-06): after today's chop, reviews only show new agent suggestions. */
body.orbit-v27 .task-view-tabs .tasks-rechop { margin-left: auto; min-height: 32px; padding: 4px 12px; border: 1px solid var(--o-line); border-radius: 999px; background: transparent; color: var(--o-accent-ink, #6cb2ff); font-size: 14px; font-weight: 600; cursor: pointer; box-shadow: none; }
body.orbit-v27 .task-view-tabs .tasks-rechop:hover { background: var(--o-accent-soft, rgba(59, 158, 255, .12)); }

/* "Add to today" chip in a task's pop-up (2026-11-10): one tap puts the task on today's plan, tap again to take it off. */
body.orbit-v27 #captureDialog .capture-chips > .chip-today[hidden] { display: none; }
body.orbit-v27 #captureDialog .capture-chips > .chip-today.is-on { border-color: color-mix(in srgb, var(--o-accent, #3b9eff) 60%, transparent); background: color-mix(in srgb, var(--o-accent, #3b9eff) 14%, transparent); color: var(--o-ink, #fff); }
body.orbit-v27 #captureDialog .capture-chips > .chip-today.is-on > svg { color: var(--o-accent, #3b9eff); }
