/* circle-signup.css — 家长圈 Volunteer 报名表（circle-signup.js）。
   单独一个文件：index.css / shared.css 被体量棘轮冻着。颜色一律走 shared.css 的 token。 */

.post-type.volunteer { background: var(--primary-light); color: var(--primary-deep); }

/* ── 发帖层里的编辑器 ── */
.cs-editor { margin-top: 10px; display: grid; gap: 14px; }
.cs-edit-intro { margin: 0; font-size: 13px; color: var(--text-secondary); line-height: 1.45; }
.cs-edit-sec { display: grid; gap: 8px; }
.cs-edit-head { display: flex; justify-content: space-between; align-items: baseline;
  font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--text-secondary); }
.cs-edit-hint { font-weight: 600; text-transform: none; letter-spacing: 0; font-size: 11.5px; padding-right: 40px; }
.cs-rows { display: grid; gap: 8px; }
.cs-row { display: grid; gap: 6px; padding: 10px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--card); }
.cs-row-main { display: flex; align-items: center; gap: 8px; }
.cs-row input[type="text"] { width: 100%; min-width: 0; box-sizing: border-box; border: 1px solid var(--border);
  border-radius: 10px; padding: 8px 10px; font: inherit; font-size: 14px; color: var(--text); background: var(--card); }
.cs-row .cs-label { flex: 1; font-weight: 600; }
.cs-row .cs-note { font-size: 13px; color: var(--text-body); background: var(--bg); }
.cs-spots { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius-btn); flex: none; }
.cs-step { width: 30px; height: 32px; border: 0; background: none; font-size: 17px; color: var(--primary); cursor: pointer; }
.cs-n { min-width: 18px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.cs-remove { flex: none; width: 30px; height: 30px; border: 0; border-radius: 50%; background: none;
  color: var(--text-secondary); font-size: 20px; line-height: 1; cursor: pointer; }
.cs-remove:hover { background: var(--bg); color: var(--danger); }
.cs-add { justify-self: start; border: 1px dashed var(--border); background: none; border-radius: var(--radius-btn);
  padding: 7px 14px; font: inherit; font-size: 13px; font-weight: 600; color: var(--primary); cursor: pointer; }
.cs-add:hover { border-color: var(--primary); }

/* ── 列表卡上的进度 ── */
.cs-sum { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 13px; color: var(--text-secondary); }
.cs-sum b { color: var(--primary); font-weight: 700; }
.cs-bar { flex: none; width: 64px; height: 6px; border-radius: 3px; background: var(--hairline); overflow: hidden; }
.cs-bar i { display: block; height: 100%; background: var(--primary); border-radius: 3px; }

/* ── 详情里的整张表 ── */
.cs-sheet { margin: 14px 0 6px; padding: 14px; border-radius: var(--radius-note); background: var(--bg); }
.cs-sheet > .cs-sum { margin-top: 0; }
.cs-sec-title { margin: 16px 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--text-secondary); }
.cs-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cs-item { background: var(--card); border-radius: var(--radius-sm); padding: 10px 12px; box-shadow: var(--shadow-chip); }
.cs-item-top { display: flex; align-items: center; gap: 10px; }
.cs-item-text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.cs-item-label { font-weight: 600; color: var(--text); overflow-wrap: anywhere; }
.cs-item-note { font-size: 12.5px; color: var(--text-secondary); overflow-wrap: anywhere; }
.cs-count { flex: none; font-size: 12.5px; font-weight: 700; color: var(--text-secondary); font-variant-numeric: tabular-nums; }
.cs-btn { flex: none; border: 0; border-radius: var(--radius-btn); padding: 8px 14px; min-height: 36px;
  font: inherit; font-size: 13px; font-weight: 700; background: var(--primary); color: #fff; cursor: pointer; }
.cs-btn.is-mine { background: none; color: var(--text-secondary); border: 1px solid var(--border); font-weight: 600; }
.cs-btn:disabled { opacity: .6; cursor: default; }
.cs-full { flex: none; font-size: 12.5px; font-weight: 700; color: var(--success); padding: 0 6px; }
.cs-item.is-full .cs-count { color: var(--success); }
.cs-names { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.cs-name { font-size: 12.5px; padding: 3px 10px; border-radius: var(--radius-btn); background: var(--primary-light); color: var(--primary-deep); }
.cs-name.is-me { background: var(--primary); color: #fff; font-weight: 600; }
/* 发帖层的 .modal-sheet label / select 是整行大号的；这一格要的是行内一小格，所以带上 .cs-row 压过它 */
.cs-row .cs-who-row { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 12.5px; font-weight: 600; color: var(--text-secondary); }
.cs-row .cs-who { width: auto; font: inherit; font-size: 12.5px; padding: 4px 8px; border: 1px solid var(--border); border-radius: 8px; background: var(--card); color: var(--text); }
.cs-tag { display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: var(--radius-btn); font-size: 11px; font-weight: 700;
  background: var(--accent-light); color: var(--accent-deep); vertical-align: 1px; }
.cs-kid-btns { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.cs-none { font-size: 12.5px; color: var(--text-secondary); }
.cs-btn-x { border: 0; cursor: pointer; font: inherit; font-size: 12.5px; }
