/* Clare · 会场控制台。沿用洽谈参谋的令牌与按钮（negotiation-copilot.css），这里只管布局。 */
.cc-app { max-width: 1440px; margin: 0 auto; padding: 0 20px 40px; }
.cc-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--hairline); margin-bottom: 16px; position: sticky; top: 0; background: var(--bg); z-index: 3; }
.cc-top-actions { display: flex; align-items: center; gap: 10px; }
.cc-card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 16px; }
.cc-card h2 { margin: 0 0 10px; font: 600 16px/1.4 var(--font-heading); }
.cc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.cc-head h2 { margin: 0; }
.cc-event-form { display: grid; grid-template-columns: 200px 1fr 130px 1.4fr auto; gap: 10px 12px; align-items: end; }
.cc-event-form .nc-field, .cc-filters .nc-field, .cc-batch-tools .nc-field { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); }
.cc-event-form input, .cc-filters input, .cc-filters select, .cc-batch-tools select, .cc-table input, .cc-table select { border: 1px solid var(--hairline); border-radius: 8px; padding: 7px 10px; background: var(--surface); color: var(--ink); font: inherit; font-size: 14px; min-width: 0; }
.cc-event-actions { display: flex; gap: 8px; }
.cc-tables { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.cc-table-card { border: 1px solid var(--hairline); border-radius: var(--radius); padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; background: var(--bg); }
.cc-table-card header { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cc-table-card header b { font-size: 16px; }
.cc-table-card.on { border-color: var(--primary); }
.cc-table-card.stale { border-color: var(--warn); background: var(--warn-soft); }
.cc-table-card p { margin: 0; }
.cc-latest { font-size: 13px; }
.cc-actions, .cc-row-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.cc-pill { display: inline-block; font-size: 12px; padding: 1px 8px; border-radius: 999px; background: var(--tint-soft); color: var(--muted); white-space: nowrap; }
.cc-pill.on, .cc-pill.done { background: var(--ok-soft); color: var(--ok); }
.cc-pill.stale, .cc-pill.paused, .cc-pill.processing, .cc-pill.open { background: var(--warn-soft); color: var(--warn); }
.cc-pill.failed { background: var(--risk-soft); color: var(--risk); }
.cc-filters, .cc-batch-tools { display: flex; align-items: end; gap: 10px; flex-wrap: wrap; }
.cc-batch-tools { margin-bottom: 10px; }
.cc-scroll { overflow-x: auto; }
.cc-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.cc-table th { text-align: left; font-weight: 600; color: var(--muted); font-size: 12px; padding: 6px 8px; border-bottom: 1px solid var(--hairline); white-space: nowrap; }
.cc-table td { padding: 8px; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.cc-table .nc-empty { text-align: center; padding: 18px; }
.cc-title { min-width: 180px; }
.cc-file { max-width: 220px; overflow-wrap: anywhere; }
.cc-code, .cc-code-input { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .04em; }
.cc-code { border: 1px solid var(--hairline); background: var(--surface); border-radius: 6px; padding: 2px 6px; cursor: pointer; }
.cc-code-input { width: 110px; text-transform: uppercase; }
.cc-progress { height: 4px; background: var(--tint-soft); border-radius: 2px; margin-top: 6px; overflow: hidden; width: 120px; }
.cc-progress i { display: block; height: 100%; background: var(--primary); transition: width .4s; }
.nc-hint.bad { color: var(--risk); }
.cc-danger { color: var(--risk); }
.cc-workers { position: fixed; left: -10000px; top: 0; width: 800px; height: 600px; overflow: hidden; }
.cc-workers iframe { width: 800px; height: 600px; border: 0; }
.cc-print { display: none; }
@media (max-width: 900px) {
  .cc-event-form { grid-template-columns: 1fr; }
  .cc-app { padding: 0 16px 40px; }
  .cc-top { flex-wrap: wrap; }
}
/* 打印桌卡：A6 横向一张一桌，只打印卡片。 */
@media print {
  @page { size: A6 landscape; margin: 8mm; }
  body > *:not(.cc-print) { display: none !important; }
  .cc-print { display: block; }
  .cc-print-card { page-break-after: always; break-after: page; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; height: 88mm; font-family: var(--font); color: #111; }
  .cc-print-card h1 { margin: 2mm 0; font-size: 18pt; }
  .cc-print-event { margin: 0; font-size: 9pt; color: #444; }
  .cc-print-qr svg { width: 46mm; height: 46mm; }
  .cc-print-card p { margin: 1mm 0; font-size: 9pt; }
  .cc-print-en { color: #555; }
}
.cc-scenario { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); } .cc-scenario select { border: 1px solid var(--hairline); border-radius: 6px; padding: 2px 6px; background: var(--surface); color: var(--ink); font-size: 12px; }
