/* Agent feedback rounds. Everything here is agent-authored and advisory:
   dashed periwinkle marks and rules, never the amber/sage of a human decision. */
#rounds-view .rounds-layout { display:grid; grid-template-columns:300px minmax(0,1fr); gap:32px; align-items:start; }
#rounds-view .rounds-side { display:grid; gap:28px; min-width:0; }
#rounds-view .rounds-side h2 { font-size:15px; margin-bottom:8px; }

/* Rounds: a quiet list. */
#rounds-view .rounds-list>.muted { font-size:13px; padding:4px 0; }
#rounds-view .rounds-list-item { display:grid; gap:3px; width:100%; padding:10px 10px 10px 12px; border:0; border-top:1px solid var(--line); border-radius:0; background:transparent; color:var(--ink); text-align:left; overflow-wrap:anywhere; }
#rounds-view .rounds-list-item:first-of-type { border-top:0; }
#rounds-view .rounds-list-item:hover { background:var(--surface-hover); }
#rounds-view .rounds-list-item[aria-pressed="true"] { border-radius:var(--radius-control); background:var(--surface); box-shadow:inset 2px 0 var(--agent),inset 0 0 0 1px var(--line); }
#rounds-view .rounds-list-item[aria-pressed="true"]+.rounds-list-item { border-top-color:transparent; }
#rounds-view .rounds-list-item strong { font-size:13.5px; font-weight:560; }
#rounds-view .rounds-list-item span { font-size:12px; color:var(--muted); }
#rounds-view .rounds-list-item:is(.running,.queued) span { color:var(--agent); }

/* Ask form. */
#rounds-view .rounds-form { display:grid; gap:14px; padding:20px; }
#rounds-view .rounds-form h2 { margin:0; }
#rounds-view .rounds-form>.muted { margin-top:-8px; font-size:12.5px; line-height:1.55; }
#rounds-view .rounds-form label { display:grid; gap:6px; margin:0; }
#rounds-view .rounds-form select { width:100%; min-width:0; }
#rounds-view .rounds-form fieldset { display:grid; gap:2px; margin:0; padding:0; border:0; min-width:0; }
#rounds-view .rounds-form legend { padding:0; margin-bottom:6px; font-size:13px; }
#rounds-view .rounds-form .rounds-reviewer-choice { display:flex; align-items:center; gap:10px; min-height:34px; margin:0; font-weight:450; }
#rounds-view .rounds-reviewer-choice input { margin:0; }
#rounds-view .rounds-form .button { justify-self:stretch; }

/* Detail: one panel, reviewers as sections in sequence. */
#rounds-view .rounds-detail { min-width:0; padding:26px 30px 28px; }
#rounds-view .rounds-detail>.muted { font-size:13px; }
#rounds-view .rounds-detail>h2 { font-size:28px; line-height:1.15; font-weight:650; letter-spacing:-.02em; overflow-wrap:anywhere; }
#rounds-view .rounds-meta { margin-top:6px; font-size:13px; color:var(--muted); }
#rounds-view .rounds-digest { margin:4px 0 14px; font-size:12px; color:var(--muted); overflow-wrap:anywhere; }
#rounds-view .rounds-digest code { font-size:12px; color:var(--faint); }
#rounds-view .badge.completed { background:var(--agent-soft); color:var(--agent); }
#rounds-view .badge.completed::before { background:transparent; border:1.5px dashed currentColor; }
#rounds-view .rounds-advisory { margin:14px 0 6px; padding:8px 12px; max-width:72ch; border-left:2px dashed var(--agent); font-size:13px; color:var(--muted); }
#rounds-view .rounds-detail>.button { margin-top:12px; }
#rounds-view .rounds-detail>.message { margin-top:14px; }

#rounds-view .rounds-reviewer { display:grid; justify-items:start; gap:8px; margin-top:22px; padding-top:20px; border-top:1px solid var(--line); overflow-wrap:anywhere; min-width:0; }
#rounds-view .rounds-reviewer>* { max-width:100%; }
#rounds-view .rounds-reviewer-name { display:flex; align-items:center; gap:10px; margin:0; font-family:var(--font-display); font-size:16px; font-weight:620; }
#rounds-view .rounds-reviewer>.muted { font-size:12.5px; margin:-4px 0 0 30px; }
#rounds-view .rounds-reviewer>.badge { margin-left:30px; }
#rounds-view .rounds-reviewer>.agent-message,#rounds-view .rounds-reviewer>details { margin:6px 0 4px 30px; padding:2px 0 2px 16px; border-left:2px dashed var(--agent); }
#rounds-view .rounds-reviewer>details summary { font-size:13px; color:var(--muted); }
#rounds-view .rounds-reviewer>details>.agent-message { margin-top:8px; }
#rounds-view .rounds-reviewer>.button { margin-left:30px; min-height:32px; }
#rounds-view .rounds-reviewer pre { overflow-x:auto; }
#rounds-view .rounds-reviewer table { display:block; max-width:100%; overflow-x:auto; }

@media (max-width:1180px) { #rounds-view .rounds-layout { grid-template-columns:260px minmax(0,1fr); gap:24px; } }
@media (max-width:860px) { #rounds-view .rounds-layout { grid-template-columns:1fr; } }
@media (max-width:560px) {
  #rounds-view .rounds-detail { padding:18px 16px; }
  #rounds-view .rounds-detail>h2 { font-size:22px; }
  #rounds-view .rounds-form { padding:16px; }
  #rounds-view .rounds-reviewer>:is(.muted,.badge,.agent-message,details,.button) { margin-left:0; }
}
