/* Suggested edits on a series page (site/suggest.js): the reviewer's page and the Studio's Reviewers tab. */
.sg-text { margin: 0.6rem 0; padding: 0.8rem 1rem; border-radius: 10px; background: color-mix(in srgb, var(--ink) 4%, var(--bg)); line-height: 1.75; white-space: pre-wrap; overflow-wrap: anywhere; }
.sg-mark { cursor: pointer; border-radius: 4px; }
.sg-mark ins { text-decoration: none; background: color-mix(in srgb, var(--ok) 22%, transparent); border-bottom: 2px solid var(--ok); border-radius: 3px; padding: 0 1px; }
.sg-mark del { text-decoration: line-through; text-decoration-color: var(--bad); background: color-mix(in srgb, var(--bad) 20%, transparent); border-radius: 3px; padding: 0 1px; }
.sg-mark sup { font-size: 0.7rem; color: var(--accent); font-weight: 700; margin-inline-start: 1px; }
.sg-mark.sg-rejected { opacity: 0.45; }
.sg-mark.sg-accepted ins, .sg-mark.sg-saved ins { background: none; border-bottom-style: dotted; }
.sg-mark.sg-saved del { display: none; }
.sg-mark.sel, .sg-card.sel { outline: 2px solid var(--accent); outline-offset: 1px; }
.sg-edit { width: 100%; box-sizing: border-box; min-height: 8rem; margin-top: 0.6rem; font: 0.95rem/1.6 var(--font-text); border: 1px solid var(--accent); border-radius: 10px; padding: 0.7rem 0.9rem; background: color-mix(in srgb, var(--ink) 4%, var(--bg)); color: var(--ink); resize: vertical; }
.sg-cards { display: grid; gap: 8px; margin-top: 0.4rem; }
.sg-card { background: var(--card); border: 1px solid var(--hair); border-radius: 12px; padding: 0.65rem 0.8rem; font-size: 0.92rem; }
.sg-card .n { font-weight: 700; color: var(--accent); margin-inline-end: 0.35rem; }
.sg-card .sg-why { background: color-mix(in srgb, var(--info) 10%, transparent); border-radius: 8px; padding: 0.4rem 0.55rem; margin: 0.4rem 0 0; }
.sg-card .sg-note, .sg-card .sg-say { width: 100%; box-sizing: border-box; margin-top: 0.45rem; }
.sg-card textarea.sg-note { min-height: 0; resize: vertical; }
.sg-reply { border-inline-start: 2px solid var(--line); padding-inline-start: 0.55rem; margin: 0.45rem 0 0; }
.sg-acts { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 0.5rem; }
.sg-acts .btn { padding: 0.4rem 0.85rem; font-size: 0.85rem; }
.btn.sg-ok { background: var(--ok); color: #061418; }
.btn.sg-no { background: color-mix(in srgb, var(--bad) 85%, #000); color: #fff; }
.sg-pill { font-size: 0.75rem; border-radius: 999px; padding: 0.1rem 0.55rem; white-space: nowrap; }
.sg-pill.w { background: color-mix(in srgb, var(--warn) 22%, transparent); color: var(--warn); }
.sg-pill.a { background: color-mix(in srgb, var(--ok) 22%, transparent); color: var(--ok); }
.sg-pill.r { background: color-mix(in srgb, var(--bad) 22%, transparent); color: var(--bad); }
.sg-mode { display: inline-flex; background: var(--card); border: 1px solid var(--hair); border-radius: 999px; padding: 3px; gap: 2px; }
.sg-mode button { border: 0; background: none; color: var(--muted); font: inherit; font-size: 0.88rem; padding: 0.35rem 0.9rem; border-radius: 999px; cursor: pointer; }
.sg-mode button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); font-weight: 600; }
.sg-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.6rem 1rem; background: var(--panel); border: 1px solid var(--hair); border-radius: 14px; padding: 0.6rem 0.9rem; margin: 0.8rem 0; }
.sg-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: 18px; align-items: start; }
.sg-side { position: sticky; top: 76px; max-height: calc(100vh - 96px); overflow: auto; }
@media (max-width: 860px) { .sg-two { grid-template-columns: 1fr; } .sg-side { position: static; max-height: none; } }
