/* finesse · product/workflow · sage/teal · compact ledger + grouped forms · native controls · 2026-10-06 revision 2 */
#activitySystemPanel {
  --as-green: #0f6b63;
  --as-muted: #667771;
  --as-line: #dbe5df;
  color: #203b34;
}
#activitySystemPanel * {
  box-sizing: border-box;
}
#activitySystemPanel .as-editor { min-width: 0; }
#activitySystemPanel .as-screen-group { border: 0; padding: 0; margin: 20px 0; min-width: 0; }
#activitySystemPanel .as-screen-group legend { font-size: 13px; font-weight: 650; margin-bottom: 10px; }
#activitySystemPanel .as-filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
#activitySystemPanel label.as-filter-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border: 1px solid var(--as-line); border-radius: 8px; font-size: 13px; cursor: pointer; }
#activitySystemPanel label.as-filter-chip:has(input:checked) { background: #edf7f3; border-color: var(--as-green); color: var(--as-green); }
#activitySystemPanel label.as-filter-chip input { width: 14px; height: 14px; min-height: 0; margin: 0; accent-color: var(--as-green); }
#activitySystemPanel .as-selected-owners { margin-top: 10px; }
#activitySystemPanel .as-screen-submit { padding-bottom: 18px; border-bottom: 1px solid var(--as-line); }
#activitySystemPanel .as-screen-counts { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 22px; align-items: baseline; }
#activitySystemPanel .as-screen-counts strong { font-size: 19px; }
#activitySystemPanel .as-screen-counts b { color: var(--as-green); }
#activitySystemPanel .as-screen-import, #activitySystemPanel .as-screen-pagination { margin: 16px 0; }
#activitySystemPanel .as-editor .as-form-grid > * { min-width: 0; }
#activitySystemPanel .as-editor select { max-width: 100%; }
#activitySystemPanel .as-editor .as-table table { min-width: 850px; }
#activitySystemPanel .as-editor .shellBtn { white-space: normal; }
#activitySystemPanel .as-grid.as-submission-metrics { grid-template-columns: repeat(3,minmax(0,1fr)); margin-bottom: 16px; }
#activitySystemPanel .as-target-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
#activitySystemPanel .as-target > div { display:flex; justify-content:space-between; gap:10px; flex-wrap:wrap; font-size:13px; }
#activitySystemPanel .as-target progress { width:100%; height:10px; margin:12px 0 4px; accent-color:var(--as-green); }
#activitySystemPanel .as-guide .as-head { margin-bottom:0; }
@media(max-width:700px) {
  #activitySystemPanel .as-grid.as-submission-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
  #activitySystemPanel .as-submission-metrics .as-stat { padding:14px; }
  #activitySystemPanel .as-submission-metrics .as-stat strong { font-size:23px; overflow-wrap:anywhere; }
  #activitySystemPanel .as-target-grid { grid-template-columns:1fr; }
}
#activitySystemPanel .as-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
#activitySystemPanel h2 {
  margin: 4px 0 8px;
  font-size: 26px;
  letter-spacing: -0.6px;
}
#activitySystemPanel h3 {
  margin: 0 0 12px;
  font-size: 17px;
}
#activitySystemPanel p {
  line-height: 1.65;
}
#activitySystemPanel .as-eyebrow {
  color: var(--as-green);
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 700;
}
#activitySystemPanel .as-muted {
  color: var(--as-muted);
  font-size: 13px;
}
#activitySystemPanel .as-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
#activitySystemPanel .as-tabs {
  display: flex;
  gap: 4px;
  overflow: auto;
  border-bottom: 1px solid var(--as-line);
  margin-bottom: 22px;
}
#activitySystemPanel .as-tab {
  border: 0;
  background: transparent;
  padding: 12px 15px;
  white-space: nowrap;
  color: var(--as-muted);
  font: inherit;
  cursor: pointer;
  border-bottom: 3px solid transparent;
}
#activitySystemPanel .as-tab[aria-selected="true"] {
  border-bottom-color: var(--as-green);
  color: var(--as-green);
  font-weight: 700;
}
#activitySystemPanel .as-card {
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid var(--as-line);
  border-radius: 16px;
  padding: 22px;
  margin-bottom: 16px;
}
#activitySystemPanel .as-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
#activitySystemPanel .as-stat {
  text-align: left;
  background: #fff;
  border: 1px solid var(--as-line);
  border-radius: 14px;
  padding: 20px;
  cursor: pointer;
  color: inherit;
}
#activitySystemPanel .as-stat span {
  display: block;
  font-size: 13px;
  color: var(--as-muted);
}
#activitySystemPanel .as-stat strong {
  display: block;
  font-size: 27px;
  font-weight: 650;
  margin: 10px 0 6px;
  font-variant-numeric: tabular-nums;
}
#activitySystemPanel .as-stat em {
  font-style: normal;
  font-size: 12px;
  color: var(--as-muted);
}
#activitySystemPanel .as-stat:hover {
  border-color: var(--as-green);
}
#activitySystemPanel .as-note {
  border: 1px solid #e6d7b8;
  background: #fffbf1;
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.7;
  margin: 14px 0;
}
#activitySystemPanel .as-guide {
  border: 1px solid var(--as-line);
  background: #f2f7f3;
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 18px;
}
#activitySystemPanel .as-guide p {
  margin: 6px 0;
  font-size: 14px;
}
#activitySystemPanel .as-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
#activitySystemPanel .as-switch [aria-pressed="true"] {
  background: var(--as-green);
  color: #fff;
  border-color: var(--as-green);
}
#activitySystemPanel .as-help {
  margin: 16px 0;
  font-size: 13px;
}
#activitySystemPanel .as-help summary {
  color: var(--as-green);
  cursor: pointer;
  padding: 8px 0;
}
#activitySystemPanel .as-help .as-table {
  margin-top: 8px;
}
#activitySystemPanel .as-status {
  min-height: 24px;
  color: var(--as-green);
  font-size: 13px;
}
#activitySystemPanel .as-status[data-error="true"] {
  color: #ac3838;
}
#activitySystemPanel .as-table {
  overflow: auto;
  border: 1px solid var(--as-line);
  border-radius: 12px;
}
#activitySystemPanel table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  white-space: nowrap;
}
#activitySystemPanel th {
  text-align: left;
  padding: 12px;
  background: #f2f6f3;
  color: #667771;
  font-weight: 500;
}
#activitySystemPanel td {
  padding: 13px 12px;
  border-top: 1px solid #edf1ee;
  max-width: 380px;
  white-space: normal;
  overflow-wrap: anywhere;
}
#activitySystemPanel td.as-num {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
#activitySystemPanel .as-badge {
  display: inline-block;
  border-radius: 5px;
  background: #e9f3ed;
  padding: 3px 7px;
  color: #286957;
  font-size: 12px;
}
#activitySystemPanel .as-empty {
  padding: 48px 16px;
  text-align: center;
  color: var(--as-muted);
}
#activitySystemPanel input,
#activitySystemPanel select,
#activitySystemPanel textarea {
  width: 100%;
  border: 1px solid #cddbd3;
  background: #fff;
  border-radius: 8px;
  padding: 9px 10px;
  font: inherit;
  color: inherit;
}
#activitySystemPanel input[type="checkbox"] {
  width: auto;
}
#activitySystemPanel .as-actions select,
#activitySystemPanel .as-actions input {
  width: auto;
  max-width: 350px;
}
#activitySystemPanel button:focus-visible,
#activitySystemPanel input:focus-visible,
#activitySystemPanel select:focus-visible,
#activitySystemPanel textarea:focus-visible {
  outline: 3px solid #add2c6;
  outline-offset: 2px;
}
#activitySystemPanel button:disabled {
  opacity: 0.5;
  cursor: wait;
}
#activitySystemPanel .as-dialog {
  width: min(900px, calc(100vw - 40px));
  max-height: 90vh;
  border: 1px solid var(--as-line);
  border-radius: 18px;
  padding: 26px;
  color: inherit;
  box-shadow: 0 24px 100px #173d3430;
}
#activitySystemPanel .as-dialog::backdrop {
  background: #143a3459;
}
#activitySystemPanel .as-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
}
#activitySystemPanel label {
  display: grid;
  gap: 6px;
  font-size: 13px;
}
#activitySystemPanel .as-wide {
  grid-column: 1/-1;
}
#activitySystemPanel .as-form-section {
  border: 0;
  border-top: 1px solid var(--as-line);
  margin: 22px 0 0;
  padding: 18px 0 0;
}
#activitySystemPanel legend {
  padding: 0 8px 0 0;
  font-weight: 700;
}
#activitySystemPanel .as-row {
  display: flex;
  gap: 8px;
  align-items: end;
  margin: 8px 0;
}
#activitySystemPanel .as-row label {
  flex: 1;
  min-width: 70px;
}
#activitySystemPanel .as-dialog footer {
  position: sticky;
  bottom: -26px;
  background: #fff;
  padding: 16px 0 10px;
  border-top: 1px solid var(--as-line);
  margin-top: 22px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
#activitySystemPanel .as-progress {
  height: 7px;
  border-radius: 6px;
  background: #e9efeb;
  overflow: hidden;
  margin: 10px 0;
}
#activitySystemPanel .as-progress i {
  display: block;
  height: 100%;
  background: var(--as-green);
}
#activitySystemPanel .as-split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
  margin-top: 20px;
}
#activitySystemPanel .as-link {
  color: var(--as-green);
  border: 0;
  background: none;
  padding: 2px 4px;
  cursor: pointer;
  font: inherit;
}
#activitySystemPanel .as-pager {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 14px;
}
@media (max-width: 1100px) {
  #activitySystemPanel .as-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #activitySystemPanel .as-split {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 650px) {
  #activitySystemPanel .as-head {
    align-items: flex-start;
    flex-direction: column;
  }
  #activitySystemPanel .as-form-grid {
    grid-template-columns: 1fr;
  }
  #activitySystemPanel .as-row {
    flex-wrap: wrap;
  }
  #activitySystemPanel .as-dialog {
    padding: 18px;
  }
}

#activitySystemPanel .as-circle-panel .as-table { margin-top:16px; }
#activitySystemPanel .as-head > *, #activitySystemPanel .as-actions { min-width:0; }
@media(max-width:650px) {
  #activitySystemPanel .as-card { padding:16px; }
  #activitySystemPanel .as-head .as-actions { width:100%; }
  #activitySystemPanel .as-head .as-actions select { max-width:100%; }
  #activitySystemPanel .as-screen-counts { gap:10px 16px; }
}

#activitySystemPanel .as-circle-panel .as-table table { min-width:600px; }
#activitySystemPanel .as-customer-list .as-table table { min-width:720px; }

/* 客户整理：进度、圈层漏斗卡、批次编辑器 */
#activitySystemPanel .as-steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin:0 0 6px; padding:0; list-style:none; }
#activitySystemPanel .as-steps li { display:grid; grid-template-columns:auto 1fr; column-gap:10px; align-items:center; padding:12px 14px; border:1px solid var(--as-line); border-radius:12px; background:#fff; }
#activitySystemPanel .as-steps b { grid-row:1 / span 2; display:grid; place-items:center; width:26px; height:26px; border-radius:50%; background:#e9efeb; color:var(--as-muted); font-size:13px; }
#activitySystemPanel .as-steps span { font-weight:650; font-size:14px; }
#activitySystemPanel .as-steps em { font-style:normal; font-size:12px; color:var(--as-muted); }
#activitySystemPanel .as-steps li[data-state="current"] { border-color:var(--as-green); background:#f2f7f3; }
#activitySystemPanel .as-steps li[data-state="current"] b, #activitySystemPanel .as-steps li[data-state="done"] b { background:var(--as-green); color:#fff; }
#activitySystemPanel .as-steps-note { margin:0 0 16px; }
#activitySystemPanel .as-circle-cards { display:flex; flex-wrap:wrap; gap:10px; }
#activitySystemPanel .as-circle-card { flex:0 1 auto; min-width:150px; max-width:280px; display:grid; gap:3px; text-align:left; padding:9px 14px; border:1px solid var(--as-line); border-radius:10px; background:#fff; color:inherit; font:inherit; cursor:pointer; }
#activitySystemPanel .as-circle-card:hover { border-color:var(--as-green); }
#activitySystemPanel .as-circle-card[aria-pressed="true"] { border-color:var(--as-green); background:#edf7f3; box-shadow:0 0 0 1px var(--as-green) inset; }
#activitySystemPanel .as-circle-card[data-empty="true"] { border-style:dashed; }
#activitySystemPanel .as-cc-title { display:flex; align-items:baseline; gap:8px; min-width:0; }
#activitySystemPanel .as-cc-title strong { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:14px; }
#activitySystemPanel .as-cc-rank { flex:none; font-size:12px; color:var(--as-green); font-weight:700; }
#activitySystemPanel .as-cc-line { font-size:12px; color:var(--as-muted); font-variant-numeric:tabular-nums; }
#activitySystemPanel .as-cc-line b { font-size:15px; color:#203b34; }
#activitySystemPanel .as-section-title { margin:22px 0 12px; }
#activitySystemPanel .as-circle-panel .as-head { align-items:flex-start; }
#activitySystemPanel .as-circle-panel .as-head p { margin:0; }
#activitySystemPanel .as-plain-list { margin:8px 0; padding-left:20px; line-height:1.8; font-size:13px; }
#activitySystemPanel .as-editor-head { display:flex; align-items:center; gap:16px; margin-bottom:18px; padding-bottom:16px; border-bottom:1px solid var(--as-line); }
#activitySystemPanel .as-editor-head > div { flex:1; min-width:0; }
#activitySystemPanel .as-editor-head h3 { margin:2px 0 0; }
#activitySystemPanel .as-cond-hint { margin:20px 0 8px; }
#activitySystemPanel .as-cond { border:1px solid var(--as-line); border-radius:10px; margin-bottom:8px; background:#fff; }
#activitySystemPanel .as-cond[open] { border-color:#b9d3c9; }
#activitySystemPanel .as-cond > summary { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:4px 14px; align-items:baseline; padding:12px 14px; cursor:pointer; list-style:none; }
#activitySystemPanel .as-cond > summary::-webkit-details-marker { display:none; }
#activitySystemPanel .as-cond > summary::before { content:"▸"; grid-row:1; color:var(--as-muted); margin-right:-6px; }
#activitySystemPanel .as-cond[open] > summary::before { content:"▾"; }
#activitySystemPanel .as-cond-title { font-weight:650; font-size:14px; }
#activitySystemPanel .as-cond-desc { color:var(--as-muted); font-size:12px; min-width:0; }
#activitySystemPanel .as-cond-state { font-size:12px; color:var(--as-muted); max-width:340px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
#activitySystemPanel .as-cond-state[data-set="true"] { color:var(--as-green); font-weight:650; }
#activitySystemPanel .as-cond-body { padding:2px 16px 16px; border-top:1px solid #edf1ee; }
#activitySystemPanel .as-cond-body > .as-muted:first-child { margin:12px 0 4px; }
#activitySystemPanel .as-spec-bar { display:flex; flex-wrap:wrap; align-items:center; gap:8px 14px; margin:14px 0 0; }
#activitySystemPanel .as-spec-bar .as-switch { margin-top:0; }
#activitySystemPanel .as-spec-label { font-size:13px; font-weight:650; }
#activitySystemPanel .as-spec-label .as-muted { font-size:12px; font-weight:400; }
/* 严格开关的位置常驻预留：勾选／取消「已消费」时这一行不换行、不变高，下方场次列表不跳动。 */
#activitySystemPanel .as-spec-strict-slot { display:flex; justify-content:flex-end; align-items:center; min-width:140px; min-height:34px; margin-left:auto; }
#activitySystemPanel .as-spec-bar .as-strict { border-style:dashed; white-space:nowrap; }
#activitySystemPanel .as-cond-body .as-note.as-spec-note { display:flex; align-items:center; min-height:5.4em; margin:10px 0 0; padding:8px 14px; font-size:12px; line-height:1.7; }
#activitySystemPanel .as-spec-head { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px 16px; margin:16px 0 8px; }
#activitySystemPanel .as-spec-head strong { font-size:13px; }
#activitySystemPanel .as-spec-filters { display:flex; flex-wrap:wrap; align-items:center; gap:8px 14px; }
#activitySystemPanel .as-spec-filters label { display:inline-flex; align-items:center; gap:6px; white-space:nowrap; }
#activitySystemPanel .as-spec-filters input { width:auto; padding:5px 8px; }
#activitySystemPanel .as-spec-filters input[type="number"] { width:96px; }
#activitySystemPanel .as-event-tools { display:grid; grid-template-columns:minmax(0,180px) minmax(0,180px) minmax(0,1fr); gap:8px 12px; margin:0 0 8px; }
#activitySystemPanel .as-event-tools label { display:flex; align-items:center; gap:6px; white-space:nowrap; min-width:0; }
#activitySystemPanel .as-event-tools select,
#activitySystemPanel .as-event-tools input { min-width:0; padding:5px 8px; }
#activitySystemPanel .as-event-summary { display:grid; grid-template-columns:minmax(0,1fr) auto; grid-template-rows:auto 1.6em; align-items:center; column-gap:12px; margin:0 0 6px; font-size:12px; }
#activitySystemPanel .as-event-count { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--as-muted); }
#activitySystemPanel .as-event-count b { color:var(--as-green); }
#activitySystemPanel .as-event-actions { display:flex; gap:6px; }
#activitySystemPanel .as-event-actions .shellBtn { padding:2px 8px; font-size:12px; white-space:nowrap; }
#activitySystemPanel .as-event-actions .shellBtn:disabled { cursor:not-allowed; }
#activitySystemPanel .as-event-hint { grid-column:1 / -1; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#9a5b00; }
#activitySystemPanel .as-event-list { max-height:340px; overflow:auto; border:1px solid var(--as-line); border-radius:10px; padding:0 12px; }
#activitySystemPanel .as-event-list[data-fixed="true"] { height:340px; }
#activitySystemPanel .as-event-empty { margin:14px 0; }
#activitySystemPanel .as-badge.as-badge-review { background:#fff4e0; color:#9a5b00; border-color:#f0d3a0; }
#activitySystemPanel .as-event-group { display:grid; grid-template-columns:150px minmax(0,1fr); gap:10px 14px; align-items:start; padding:10px 0; border-top:1px solid #edf1ee; }
#activitySystemPanel .as-event-group:first-child { border-top:0; }
#activitySystemPanel .as-event-group-head { display:flex; flex-wrap:wrap; align-items:center; gap:2px 8px; padding-top:4px; }
#activitySystemPanel .as-event-group-head .as-muted { font-size:12px; }
#activitySystemPanel .as-event-group-head .shellBtn { padding:2px 8px; font-size:12px; }
#activitySystemPanel .as-event-cards { display:grid; grid-template-columns:repeat(auto-fill,minmax(250px,1fr)); gap:8px; }
#activitySystemPanel label.as-event-card { display:grid; grid-template-columns:auto minmax(0,1fr); align-items:start; gap:8px; padding:8px 10px; border:1px solid var(--as-line); border-radius:8px; cursor:pointer; font-size:13px; }
#activitySystemPanel label.as-event-card:has(input:checked) { background:#edf7f3; border-color:var(--as-green); }
#activitySystemPanel label.as-event-card input { width:14px; height:14px; min-height:0; margin:3px 0 0; accent-color:var(--as-green); }
#activitySystemPanel .as-event-main { display:grid; gap:2px; min-width:0; }
#activitySystemPanel .as-event-title { display:flex; flex-wrap:wrap; align-items:baseline; gap:2px 8px; }
#activitySystemPanel .as-event-date { font-variant-numeric:tabular-nums; color:var(--as-muted); font-size:12px; }
#activitySystemPanel .as-event-main .as-muted { font-size:12px; }
#activitySystemPanel .as-savebar { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px 16px; margin:14px 0; padding:12px 16px; background:#f2f7f3; border:1px solid var(--as-line); border-radius:12px; font-size:13px; }
@media(max-width:900px) {
  #activitySystemPanel .as-steps { grid-template-columns:1fr; }
  #activitySystemPanel .as-cond > summary { grid-template-columns:auto minmax(0,1fr); }
  #activitySystemPanel .as-cond-desc { display:none; }
  #activitySystemPanel .as-cond-state { grid-column:2; max-width:none; }
}
@media(max-width:650px) {
  #activitySystemPanel .as-circle-card { flex:1 1 140px; max-width:none; }
  #activitySystemPanel .as-event-group { grid-template-columns:minmax(0,1fr); }
  #activitySystemPanel .as-spec-strict-slot { flex-basis:100%; min-width:0; justify-content:flex-start; margin-left:0; }
  #activitySystemPanel .as-event-tools { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
  #activitySystemPanel .as-event-search { grid-column:1 / -1; }
  #activitySystemPanel .as-event-summary { grid-template-columns:minmax(0,1fr); grid-template-rows:auto auto 1.6em; row-gap:4px; }
  /* 名单与批次表在手机上不再横向滚动：行内操作跟在客户姓名后面，不用滑出屏幕才能点到。 */
  #activitySystemPanel .as-table table { min-width:0; display:block; }
  #activitySystemPanel .as-table thead { display:none; }
  #activitySystemPanel .as-table tbody,
  #activitySystemPanel .as-table tr { display:block; }
  #activitySystemPanel .as-table tr { padding:10px 12px; border-top:1px solid var(--as-line); }
  #activitySystemPanel .as-table td { display:block; padding:2px 0; border:0; }
  #activitySystemPanel .as-table td .as-actions { margin-top:6px; }
}

#activitySystemPanel .as-customer-workflow {
  --as-work-surface: var(--shell-canvas);
  --as-work-soft: var(--shell-panel-soft);
  --as-work-ink: var(--shell-text);
}
#activitySystemPanel .as-workflow-heading { display:flex; justify-content:space-between; align-items:center; gap:16px; margin:0 0 16px; }
#activitySystemPanel .as-workflow-heading h3 { font-size:20px; margin:0 0 4px; }
#activitySystemPanel .as-workflow-heading p { color:var(--as-muted); margin:0; font-size:13px; }
#activitySystemPanel .as-workflow-total { text-align:right; font-size:13px; white-space:nowrap; }
#activitySystemPanel .as-workflow-total strong { font-size:22px; font-variant-numeric:tabular-nums; }
#activitySystemPanel .as-workflow-total > span { display:block; color:var(--as-muted); font-size:12px; margin-top:3px; }
#activitySystemPanel .as-workflow-steps { grid-template-columns:repeat(3,minmax(0,1fr)); gap:0; padding:0 0 16px; margin:0; }
#activitySystemPanel .as-workflow-steps li { background:transparent; border:0; border-bottom:2px solid var(--as-line); border-radius:0; padding:9px 12px; }
#activitySystemPanel .as-workflow-steps li[data-state=current] { background:var(--as-work-soft); border-color:var(--as-green); }
#activitySystemPanel .as-workflow-steps li[data-state=done] { border-color:var(--as-green); }
#activitySystemPanel .as-workflow-steps em { margin-top:2px; }
#activitySystemPanel .as-customer-layout { display:grid; grid-template-columns:220px minmax(0,1fr); border:1px solid var(--as-line); border-radius:14px; overflow:clip; background:var(--as-work-surface); align-items:stretch; }
#activitySystemPanel .as-customer-layout .as-organization { padding:18px 14px; border-right:1px solid var(--as-line); background:var(--as-work-soft); min-width:0; }
#activitySystemPanel .as-rail-heading { display:flex; align-items:center; justify-content:space-between; gap:8px; }
#activitySystemPanel .as-rail-heading h3 { font-size:14px; margin:0; }
#activitySystemPanel .as-rail-heading > span { color:var(--as-muted); font-size:12px; }
#activitySystemPanel .as-organization > p { margin:6px 0 16px; font-size:12px; }
#activitySystemPanel .as-organization .as-circle-cards { display:grid; gap:8px; margin-bottom:12px; }
#activitySystemPanel .as-organization .as-circle-card { width:100%; max-width:none; min-width:0; border:1px solid transparent; border-radius:8px; background:transparent; padding:12px 10px; gap:6px; }
#activitySystemPanel .as-organization .as-circle-card:hover { border-color:var(--as-line); background:var(--as-work-surface); }
#activitySystemPanel .as-organization .as-circle-card[aria-pressed=true] { background:var(--as-work-surface); border-color:var(--as-green); box-shadow:3px 0 0 var(--as-green) inset; }
#activitySystemPanel .as-cc-title strong { white-space:normal; overflow-wrap:anywhere; }
#activitySystemPanel .as-cc-count { margin-left:auto; font-variant-numeric:tabular-nums; color:var(--as-green); font-size:15px; font-weight:700; }
#activitySystemPanel .as-organization > .shellBtn { width:100%; background:transparent; box-shadow:none; }
#activitySystemPanel .as-organization .as-rail-note { font-size:12px; color:var(--as-muted); margin:16px 2px 0; line-height:1.65; }
#activitySystemPanel .as-customer-main { min-width:0; padding:22px; }
#activitySystemPanel .as-circle-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; margin-bottom:18px; }
#activitySystemPanel .as-circle-heading h3 { font-size:21px; margin:5px 0 0; }
#activitySystemPanel .as-circle-heading p { margin:5px 0 0; }
#activitySystemPanel .as-circle-heading .as-eyebrow { letter-spacing:0; font-size:12px; }
#activitySystemPanel .as-circle-manage { position:relative; }
#activitySystemPanel .as-circle-manage > summary { cursor:pointer; padding:9px 10px; border-radius:8px; font-size:13px; color:var(--as-muted); }
#activitySystemPanel .as-circle-manage[open] > .as-actions { position:absolute; right:0; top:100%; width:180px; padding:8px; display:grid; z-index:4; border:1px solid var(--as-line); border-radius:10px; background:var(--as-work-surface); box-shadow:var(--shell-shadow); }
#activitySystemPanel .as-circle-manage .shellBtn { width:100%; text-align:left; box-shadow:none; }
#activitySystemPanel .as-find-empty { display:flex; align-items:center; flex-direction:column; justify-content:center; min-height:270px; text-align:center; padding:26px 10px; border-top:1px solid var(--as-line); }
#activitySystemPanel .as-empty-symbol { display:grid; place-items:center; width:44px; height:44px; margin-bottom:16px; border-radius:12px; background:var(--as-work-soft); color:var(--as-green); font-size:25px; }
#activitySystemPanel .as-find-empty h3 { font-size:18px; margin:0; }
#activitySystemPanel .as-find-empty p { font-size:13px; color:var(--as-muted); margin:8px 0 18px; max-width:400px; }
#activitySystemPanel .as-find-empty > .as-muted { margin-top:12px; font-size:12px; }
#activitySystemPanel .as-first-circle { padding:36px; text-align:center; }
#activitySystemPanel .as-first-circle h3 { font-size:22px; margin:12px 0; }
#activitySystemPanel .as-first-circle p { color:var(--as-muted); }
#activitySystemPanel .as-batch-history { border-top:1px solid var(--as-line); border-bottom:1px solid var(--as-line); padding:0; margin:0 0 20px; }
#activitySystemPanel .as-batch-history > summary { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:13px 0; cursor:pointer; font-size:13px; }
#activitySystemPanel .as-batch-history > summary > span:last-child { color:var(--as-green); font-size:12px; }
#activitySystemPanel .as-batch-history > summary > span:first-child::before { content:"▸"; display:inline-block; width:17px; }
#activitySystemPanel .as-batch-history[open] > summary > span:first-child::before { content:"▾"; }
#activitySystemPanel .as-batch-history summary b { color:var(--as-green); margin-left:5px; }
#activitySystemPanel .as-roster-heading { display:flex; justify-content:space-between; align-items:center; gap:12px; margin:18px 0 12px; }
#activitySystemPanel .as-roster-heading h3 { margin:0; }
#activitySystemPanel .as-roster-heading p { margin:4px 0 0; }
#activitySystemPanel .as-roster .as-customer-list { padding:16px; border-radius:10px; background:var(--shell-panel); }
#activitySystemPanel .as-customer-list .as-head { gap:12px; margin-bottom:12px; }
#activitySystemPanel .as-customer-list .as-head h3 { font-size:14px; margin:0; }
#activitySystemPanel .as-roster .as-table table { min-width:580px; }
#activitySystemPanel .as-roster-empty { padding:24px 0; color:var(--as-muted); font-size:13px; }
#activitySystemPanel .as-member-evidence, #activitySystemPanel .as-member-actions { font-size:12px; }
#activitySystemPanel .as-member-evidence > summary, #activitySystemPanel .as-member-actions > summary { cursor:pointer; color:var(--as-green); padding:8px 0; }
#activitySystemPanel .as-member-actions .as-actions { flex-direction:column; align-items:stretch; }
#activitySystemPanel .as-workflow-footnote { margin:12px 2px; font-size:12px; color:var(--as-muted); }
#activitySystemPanel .as-source-options { border-bottom:1px solid var(--as-line); margin-bottom:22px; padding-bottom:12px; font-size:13px; }
#activitySystemPanel .as-source-options > summary { cursor:pointer; padding:8px 0; }
#activitySystemPanel .as-source-options > summary > span { margin-left:14px; color:var(--as-green); }
#activitySystemPanel h3.as-filter-title { font-size:18px; margin:0 0 4px; }
#activitySystemPanel .as-cond-hint { margin:0 0 16px; }
#activitySystemPanel .as-filter-summary { border-radius:8px; background:var(--shell-panel-soft); padding:12px; font-size:13px; margin:16px 0; }
#activitySystemPanel .as-savebar { position:sticky; bottom:0; z-index:3; background:var(--shell-canvas); border-radius:10px; margin-bottom:0; box-shadow:var(--shell-shadow); }
#activitySystemPanel summary:focus-visible { outline:2px solid var(--as-green); outline-offset:3px; }
@media (max-width:1100px) {
  #activitySystemPanel .as-customer-layout { grid-template-columns:190px minmax(0,1fr); }
  #activitySystemPanel .as-customer-main { padding:18px; }
  #activitySystemPanel .as-circle-heading { flex-wrap:wrap; }
}
@media (max-width:760px) {
  #activitySystemPanel .as-customer-layout { grid-template-columns:minmax(0,1fr); }
  #activitySystemPanel .as-customer-layout .as-organization { border-right:0; border-bottom:1px solid var(--as-line); padding:14px; }
  #activitySystemPanel .as-organization .as-circle-cards { display:flex; flex-wrap:nowrap; overflow-x:auto; padding:3px 0; }
  #activitySystemPanel .as-organization .as-circle-card { flex:0 0 185px; min-width:185px; }
  #activitySystemPanel .as-organization > .shellBtn { width:auto; }
  #activitySystemPanel .as-organization .as-rail-note { display:none; }
  #activitySystemPanel .as-organization > p { margin-bottom:8px; }
  #activitySystemPanel .as-workflow-steps li { padding:10px 5px; column-gap:5px; }
  #activitySystemPanel .as-workflow-steps em { display:none; }
  #activitySystemPanel .as-workflow-steps b { width:21px; height:21px; font-size:11px; }
  #activitySystemPanel .as-workflow-steps span { font-size:12px; }
  #activitySystemPanel .as-workflow-heading { align-items:flex-start; }
  #activitySystemPanel .as-workflow-heading h3 { font-size:18px; }
  #activitySystemPanel .as-workflow-heading p { max-width:200px; font-size:12px; }
  #activitySystemPanel .as-workflow-total > span { display:none; }
  #activitySystemPanel .as-customer-main { padding:16px; }
  #activitySystemPanel .as-find-empty { min-height:230px; padding:22px 0; }
  #activitySystemPanel .as-circle-heading h3 { font-size:19px; }
  #activitySystemPanel .as-customer-workflow .shellBtn, #activitySystemPanel .as-editor .shellBtn { min-height:44px; }
  #activitySystemPanel .as-circle-manage > summary { padding:12px; }
  #activitySystemPanel .as-batch-history > summary { align-items:flex-start; flex-direction:column; gap:4px; }
  #activitySystemPanel .as-roster .as-customer-list { padding:12px; }
  #activitySystemPanel .as-first-circle { padding:26px 16px; }
}
#activitySystemPanel .as-customer-workflow .shellBtn--primary,
#activitySystemPanel .as-editor .shellBtn--primary {
  background:var(--as-green); border-color:var(--as-green); color:var(--shell-panel); box-shadow:none;
}
#activitySystemPanel .as-editor .as-cond > summary { grid-template-columns:16px 110px minmax(0,1fr) minmax(0,220px); align-items:center; padding:13px 14px; }
#activitySystemPanel .as-editor .as-cond > summary::before { margin:0; }
#activitySystemPanel .as-editor .as-cond-state { max-width:none; text-align:right; }
#activitySystemPanel .as-editor .as-cond-state[data-set=false] { font-size:12px; }
#activitySystemPanel .as-editor .as-screen-submit { position:sticky; bottom:0; z-index:2; padding:12px 0; background:var(--shell-panel); }
#activitySystemPanel .as-editor:has(.as-savebar) .as-screen-submit { position:static; }
@media(max-width:900px) {
  #activitySystemPanel .as-editor .as-cond > summary { grid-template-columns:16px minmax(90px,1fr) minmax(0,1fr); }
  #activitySystemPanel .as-editor .as-cond-state { grid-column:auto; }
}

#activitySystemPanel .as-activity-toolbar { align-items:center; }
#activitySystemPanel .as-activity-settings { position:relative; }
#activitySystemPanel .as-activity-settings > summary { cursor:pointer; font-size:13px; padding:10px 12px; border:1px solid var(--as-line); border-radius:8px; }
#activitySystemPanel .as-activity-settings > .as-actions { position:absolute; top:100%; right:0; display:grid; width:180px; padding:8px; z-index:6; background:var(--shell-canvas); border:1px solid var(--as-line); border-radius:10px; box-shadow:var(--shell-shadow); }
#activitySystemPanel .as-activity-settings .shellBtn { box-shadow:none; min-height:36px; }
#activitySystemPanel:has(.as-customer-workflow) > .as-status:empty,
#activitySystemPanel:has(.as-editor) > .as-status:empty { display:none; }
@media (max-width:1100px) {
  #activitySystemPanel .as-find-empty { min-height:195px; padding:20px 8px; }
  #activitySystemPanel .as-find-empty .as-empty-symbol { display:none; }
  #activitySystemPanel .as-find-empty p { margin:8px 0 14px; }
}

/* 活动工作台：主任务在前，管理视图保持导航上下文。 */
#activitySystemPanel { color:var(--shell-text, #203b34); --as-line:var(--shell-border, #dbe5df); --as-muted:var(--shell-muted, #667771); }
#activitySystemPanel > .as-status:empty { display:none; }
#activitySystemPanel > .as-head { margin-bottom:14px; }
#activitySystemPanel > .as-head h2 { font-size:23px; }
#activitySystemPanel .as-tabs { margin-bottom:16px; }
#activitySystemPanel .as-subnav { display:flex; gap:6px; overflow-x:auto; margin:0 0 18px; padding-bottom:3px; }
#activitySystemPanel .as-subnav button { flex:none; border:1px solid transparent; background:transparent; color:var(--as-muted); padding:10px 14px; border-radius:8px; font:inherit; font-size:13px; cursor:pointer; }
#activitySystemPanel .as-subnav [aria-current=page] { background:var(--shell-panel-soft); border-color:var(--as-line); color:var(--as-green); font-weight:650; }
#activitySystemPanel .as-page-intro { display:flex; justify-content:space-between; gap:16px; align-items:center; margin:0 0 16px; }
#activitySystemPanel .as-page-intro h3 { font-size:20px; margin:0 0 5px; }
#activitySystemPanel .as-page-intro p { color:var(--as-muted); font-size:13px; margin:0; }
#activitySystemPanel .as-page-intro > * { min-width:0; }
#activitySystemPanel .as-page-intro > .shellBtn { flex:none; }
#activitySystemPanel .as-coverage-help { margin:0 0 8px; }
#activitySystemPanel .as-work-queue { display:flex; flex-wrap:wrap; gap:8px; padding:12px 0 18px; }
#activitySystemPanel .as-work-queue .shellBtn { background:var(--shell-panel-soft); box-shadow:none; }
#activitySystemPanel .as-section-disclosure > summary { cursor:pointer; color:var(--as-green); font-size:14px; font-weight:650; }
#activitySystemPanel .as-section-disclosure[open] > summary { margin-bottom:18px; }
#activitySystemPanel .as-shortage { color:#a44323; }
#activitySystemPanel .as-card, #activitySystemPanel .as-stat, #activitySystemPanel .as-cond { background:var(--shell-canvas, #fafcfb); }
#activitySystemPanel .as-stat strong { font-size:25px; }
#activitySystemPanel .shellBtn--primary { background:var(--as-green); border-color:var(--as-green); color:#f7fcfa; box-shadow:none; }
#activitySystemPanel .as-editor { padding:0; overflow:clip; }
#activitySystemPanel .as-editor-head { padding:16px 20px; margin:0; gap:14px; }
#activitySystemPanel .as-editor-head p { margin:5px 0 0; }
#activitySystemPanel .as-find-layout { display:grid; grid-template-columns:minmax(300px, 36%) minmax(0, 1fr); align-items:start; }
#activitySystemPanel .as-find-filters { min-width:0; padding:18px; border-right:1px solid var(--as-line); background:var(--shell-panel-soft); }
#activitySystemPanel .as-find-filter-head h3 { font-size:16px; margin:0 0 5px; }
#activitySystemPanel .as-find-filter-head p { margin:0 0 10px; }
#activitySystemPanel .as-find-filters .as-source-options { margin:0 0 10px; padding-bottom:6px; }
#activitySystemPanel .as-find-filters .as-screen-submit { position:static; background:transparent; padding:0 0 14px; margin-bottom:14px; }
#activitySystemPanel .as-find-filters .as-cond > summary { grid-template-columns:12px minmax(0,1fr); padding:12px; gap:4px 8px; }
#activitySystemPanel .as-find-filters .as-cond-desc { display:none; }
#activitySystemPanel .as-find-filters .as-cond-state { grid-column:2; text-align:left; font-size:12px; white-space:normal; overflow-wrap:anywhere; }
#activitySystemPanel .as-find-filters .as-cond-state[data-set=false] { display:none; }
#activitySystemPanel .as-find-filters .as-cond-body { padding:0 12px 12px; }
#activitySystemPanel .as-find-results { min-width:0; padding:20px; }
#activitySystemPanel .as-result-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }
#activitySystemPanel .as-result-heading h3 { font-size:16px; margin:0; }
#activitySystemPanel .as-find-results .as-filter-summary { margin:12px 0; font-size:12px; overflow-wrap:anywhere; }
#activitySystemPanel .as-results-empty { min-height:280px; display:flex; flex-direction:column; justify-content:center; text-align:center; }
#activitySystemPanel .as-results-empty h3 { font-size:17px; }
#activitySystemPanel .as-results-empty p { font-size:13px; margin:4px 0; }
#activitySystemPanel .as-find-results .as-screen-counts { margin-top:16px; gap:8px 14px; font-size:12px; }
#activitySystemPanel .as-find-results .as-screen-counts strong { flex-basis:100%; font-size:21px; }
#activitySystemPanel .as-find-results .as-table table { min-width:580px; }
#activitySystemPanel .as-find-results .as-savebar { padding:12px; }
#activitySystemPanel .as-dialog .as-head { position:sticky; top:-26px; background:var(--shell-canvas, #fafcfb); z-index:2; padding:12px 0; }
#activitySystemPanel .as-dialog footer { background:var(--shell-canvas, #fafcfb); z-index:2; }
@media(max-width:760px) {
  #activitySystemPanel .as-find-layout { grid-template-columns:minmax(0,1fr); }
  #activitySystemPanel .as-find-filters { border-right:0; border-bottom:1px solid var(--as-line); }
  #activitySystemPanel .as-find-results { padding:16px; }
  #activitySystemPanel .as-editor-head { flex-wrap:wrap; padding:14px; }
  #activitySystemPanel .as-page-intro { flex-wrap:wrap; }
  #activitySystemPanel .as-results-empty { min-height:170px; }
  #activitySystemPanel .shellBtn, #activitySystemPanel .as-subnav button { min-height:44px; }
  #activitySystemPanel .as-result-heading { flex-wrap:wrap; }
  #activitySystemPanel .as-dialog .as-head { top:-18px; }
  #activitySystemPanel .as-dialog footer { bottom:-18px; }
}
@media(max-width:650px) {
  #activitySystemPanel .as-table td[data-label]::before { content:attr(data-label); display:block; font-size:11px; color:var(--as-muted); margin-top:7px; margin-bottom:2px; }
  #activitySystemPanel .as-find-results .as-table table { min-width:0; }
  #activitySystemPanel .as-find-results .as-table td { max-width:none; }
}
#activitySystemPanel .as-find-filters .as-cond-state { display:block; height:18px; line-height:18px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
#activitySystemPanel .as-find-filters .as-cond-state[data-set=false] { display:block; }
#activitySystemPanel .as-find-filters .as-form-grid, #activitySystemPanel .as-find-filters .as-event-group { grid-template-columns:minmax(0,1fr); }
#activitySystemPanel .as-find-filters .as-event-tools { grid-template-columns:repeat(2,minmax(0,1fr)); }
#activitySystemPanel .as-find-filters .as-event-search { grid-column:1 / -1; }
#activitySystemPanel .as-find-filters .as-event-cards { grid-template-columns:minmax(0,1fr); }
#activitySystemPanel .as-find-filters .as-event-summary { grid-template-columns:minmax(0,1fr); grid-template-rows:auto auto 1.6em; }
#activitySystemPanel .as-find-filters .as-spec-strict-slot { flex-basis:100%; min-width:0; margin:0; justify-content:flex-start; }
#activitySystemPanel .as-find-filters .as-cond-body .as-note.as-spec-note { min-height:0; align-items:flex-start; }
#activitySystemPanel .as-find-filters .as-spec-head { min-height:110px; align-content:flex-start; }

#activitySystemPanel .as-specialty-note { margin:4px 0; }

/* 活动列表 → 单场工作区。活动标题与四个工作页是一组，圈层仅为名单筛选。 */
#activitySystemPanel .as-workspace-header { border-bottom:1px solid var(--as-line); margin-bottom:16px; }
#activitySystemPanel .as-workspace-header .as-head { align-items:flex-end; margin:0 0 12px; gap:16px; }
#activitySystemPanel .as-back-link { color:var(--as-muted); background:none; border:0; padding:4px 0; margin-bottom:6px; cursor:pointer; font:inherit; font-size:13px; }
#activitySystemPanel .as-activity-title { display:flex; align-items:center; flex-wrap:wrap; gap:8px 14px; }
#activitySystemPanel .as-activity-title h2 { margin:0; font-size:23px; }
#activitySystemPanel .as-activity-title .as-muted { font-size:12px; }
#activitySystemPanel .as-workspace-header .as-tabs { border:0; margin:0; }
#activitySystemPanel .as-list-heading { margin:4px 0 24px; }
#activitySystemPanel .as-list-heading h2 { font-size:24px; margin:0 0 6px; }
#activitySystemPanel .as-list-heading p { margin:0; }
#activitySystemPanel .as-activity-list { background:var(--shell-canvas); border-radius:10px; }
#activitySystemPanel .as-activity-list .as-table { border-radius:10px; }
#activitySystemPanel .as-activity-list td { padding:20px 16px; }
#activitySystemPanel .as-activity-list th { padding:12px 16px; }
#activitySystemPanel .as-activity-name { font-size:16px; font-weight:650; text-align:left; padding:4px 0; }
#activitySystemPanel .as-activity-type { display:block; margin-top:3px; }
#activitySystemPanel .as-page-back { display:flex; align-items:center; gap:12px; margin-bottom:18px; color:var(--as-muted); font-size:13px; }
#activitySystemPanel .as-page-back .shellBtn { box-shadow:none; background:transparent; }
#activitySystemPanel .as-roster-summary { display:flex; align-items:center; flex-wrap:wrap; gap:6px 20px; padding:0 0 14px; font-size:13px; color:var(--as-muted); }
#activitySystemPanel .as-roster-summary p { flex:1; margin:0; }
#activitySystemPanel .as-roster-summary b { color:var(--shell-text); }
#activitySystemPanel .as-roster-summary > .as-muted { font-size:12px; }
#activitySystemPanel .as-customer-layout { border:0; border-radius:0; background:transparent; grid-template-columns:190px minmax(0,1fr); }
#activitySystemPanel .as-customer-layout .as-organization { border:0; border-right:1px solid var(--as-line); background:transparent; padding:8px 16px 12px 0; }
#activitySystemPanel .as-customer-main { padding:8px 0 12px 22px; }
#activitySystemPanel .as-circle-heading { align-items:center; margin-bottom:12px; }
#activitySystemPanel .as-circle-heading > div:first-child { display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; }
#activitySystemPanel .as-current-circle { font-size:16px; font-weight:650; }
#activitySystemPanel .as-find-empty { border-top:1px solid var(--as-line); min-height:215px; padding:20px 12px; }
#activitySystemPanel .as-find-empty .as-empty-title { font-size:16px; font-weight:650; color:var(--shell-text); margin:0; }
#activitySystemPanel .as-find-empty > .as-muted { display:none; }
#activitySystemPanel .as-first-circle { border:0; background:transparent; }
#activitySystemPanel .as-rail-heading strong { font-size:13px; }
#activitySystemPanel .as-workflow-footnote { border-top:1px solid var(--as-line); padding-top:12px; }
@media (max-width:760px) {
  #activitySystemPanel .as-customer-layout { grid-template-columns:minmax(0,1fr); }
  #activitySystemPanel .as-customer-layout .as-organization { border:0; border-bottom:1px solid var(--as-line); padding:0 0 12px; }
  #activitySystemPanel .as-customer-main { padding:16px 0 0; }
  #activitySystemPanel .as-roster-summary p { flex-basis:100%; }
  #activitySystemPanel .as-activity-title .as-muted { flex-basis:100%; }
  #activitySystemPanel .as-workspace-header .as-head { align-items:flex-start; }
  #activitySystemPanel .as-back-link { min-height:36px; }
  #activitySystemPanel .as-activity-toolbar { gap:6px; }
  #activitySystemPanel .as-circle-heading { flex-wrap:wrap; gap:8px; }
}

/* 初筛先确认；名单只展开当前咨询师，分页限制一次展示的客户数量。 */
body:has(#activitySystemPanel:not([hidden]) .as-editor) { overflow:visible; }
#activitySystemPanel .as-find-results .as-savebar { position:sticky; top:8px; bottom:auto; margin:0 0 14px; z-index:4; }
#activitySystemPanel .as-screen-table .as-table { max-height:440px; overflow:auto; overscroll-behavior:contain; }
#activitySystemPanel .as-screen-table th { position:sticky; top:0; z-index:1; }
#activitySystemPanel .as-find-results .as-screen-table table { min-width:0; table-layout:fixed; }
#activitySystemPanel .as-screen-table th:first-child { width:88px; }
#activitySystemPanel .as-screen-table th:nth-child(2) { width:27%; }
#activitySystemPanel .as-screen-table th:nth-child(3) { width:17%; }
#activitySystemPanel .as-row-select { white-space:nowrap; }
#activitySystemPanel .as-roster .as-owner-group { padding:0; border:1px solid var(--as-line); border-radius:10px; margin:0 0 8px; background:var(--shell-canvas); }
#activitySystemPanel .as-owner-heading { display:flex; align-items:center; gap:12px; padding:10px 12px; }
#activitySystemPanel .as-owner-toggle { display:flex; align-items:center; flex-wrap:wrap; gap:6px 12px; flex:1; min-width:0; border:0; background:transparent; color:inherit; padding:8px 0; text-align:left; font:inherit; font-size:13px; cursor:pointer; }
#activitySystemPanel .as-owner-toggle-label { color:var(--as-green); margin-left:auto; font-size:12px; }
#activitySystemPanel .as-owner-heading > .shellBtn { flex:none; font-size:12px; }
#activitySystemPanel .as-owner-group > div[id]:not([hidden]) { border-top:1px solid var(--as-line); padding:12px; }
#activitySystemPanel .as-owner-group .as-pager { font-size:12px; padding:0 0 10px; }
#activitySystemPanel .as-owner-group .as-table + .as-pager { padding:10px 0 0; }
#activitySystemPanel .as-owner-pages { font-size:12px; padding:8px 0 14px; }
@media(max-width:760px) {
  #activitySystemPanel .as-owner-heading { flex-wrap:wrap; }
  #activitySystemPanel .as-owner-toggle { flex-basis:100%; min-height:44px; }
  #activitySystemPanel .as-owner-group .as-pager, #activitySystemPanel .as-owner-pages { flex-wrap:wrap; justify-content:flex-start; }
  #activitySystemPanel .as-savebar .as-actions { width:100%; }
}

/* 圈层标题与整批推送为主线，条件与逐组操作降为次要层级。 */
#activitySystemPanel .as-roster-summary { justify-content:flex-end; font-size:12px; color:var(--as-muted); padding-bottom:16px; }
#activitySystemPanel .as-circle-heading { align-items:center; margin-bottom:12px; }
#activitySystemPanel .as-circle-heading .as-circle-title { display:flex; align-items:baseline; gap:8px 12px; flex:1; }
#activitySystemPanel .as-current-circle { font-size:22px; margin:0; }
#activitySystemPanel .as-circle-metrics { flex-basis:100%; font-size:14px; margin:0; }
#activitySystemPanel .as-circle-metrics strong { font-size:19px; font-variant-numeric:tabular-nums; }
#activitySystemPanel .as-circle-metrics span { margin-left:12px; color:var(--as-muted); font-size:12px; }
#activitySystemPanel .as-batch-history { border-top:0; margin:0 0 16px; }
#activitySystemPanel .as-batch-history > summary { flex-direction:row; align-items:center; justify-content:flex-start; gap:16px; padding:9px 0; font-size:12px; color:var(--as-muted); }
#activitySystemPanel .as-roster-caption { display:flex; align-items:center; gap:12px; font-size:12px; margin:0 0 10px; }
#activitySystemPanel .as-roster-caption span { color:var(--as-muted); }
#activitySystemPanel .as-owner-heading { padding:6px 12px; }
#activitySystemPanel .as-owner-heading > .shellBtn { min-width:92px; }
#activitySystemPanel .as-owner-toggle { padding:10px 0; }
@media(max-width:760px) {
  #activitySystemPanel .as-circle-heading > .as-actions { width:100%; }
  #activitySystemPanel .as-circle-metrics span { display:inline-block; }
  #activitySystemPanel .as-roster-caption { flex-wrap:wrap; gap:4px 12px; }
}

/* 圈层直接编辑：名称可点击，左侧把手排序，找客与条件归在一起。 */
#activitySystemPanel .as-circle-item { position:relative; min-width:0; }
#activitySystemPanel .as-circle-item .as-circle-card { width:100%; padding-right:30px; }
#activitySystemPanel .as-circle-drag { position:absolute; right:2px; top:50%; transform:translateY(-50%); z-index:1; border:0; background:transparent; color:var(--as-muted); padding:10px 5px; font-size:22px; cursor:grab; touch-action:none; user-select:none; }
#activitySystemPanel .as-dragging { opacity:.55; outline:2px dashed var(--as-green); border-radius:10px; }
#activitySystemPanel .as-circle-name { border:0; border-bottom:1px dashed transparent; background:none; color:inherit; font:inherit; padding:0; text-align:left; cursor:text; }
#activitySystemPanel .as-circle-name span { font-size:13px; margin-left:8px; color:var(--as-muted); }
#activitySystemPanel .as-circle-name:hover { border-bottom-color:var(--as-green); }
#activitySystemPanel .as-circle-name-input { width:min(100%,300px); font:inherit; padding:4px 8px; }
#activitySystemPanel .as-finding-tools { position:relative; border-bottom:1px solid var(--as-line); margin-bottom:16px; min-height:44px; }
#activitySystemPanel .as-finding-tools > .shellBtn { position:absolute; right:0; top:0; }
#activitySystemPanel .as-finding-tools .as-batch-history { border:0; margin:0; }
#activitySystemPanel .as-finding-tools .as-batch-history > summary { min-height:44px; padding-right:124px; }
#activitySystemPanel .as-finding-tools .as-batch-history[open] { padding-bottom:12px; }
#activitySystemPanel .as-circle-name:focus-visible, #activitySystemPanel .as-circle-drag:focus-visible { outline:2px solid var(--as-green); outline-offset:2px; }
@media(max-width:760px) {
  #activitySystemPanel .as-finding-tools .as-batch-history > summary { flex-wrap:wrap; gap:4px 10px; }
}

/* finesse · product/workflow · existing sage/teal · task toolbar + compact ledger · 2026-10-06 revision 2 */
#activitySystemPanel { --as-muted:var(--shell-muted,#596d66); }
#activitySystemPanel .as-status:empty { display:none; }
#activitySystemPanel .as-page-intro { align-items:center; gap:12px; margin:0 0 12px; }
#activitySystemPanel .as-page-intro h3 { font-size:17px; font-weight:650; margin:0 0 4px; }
#activitySystemPanel .as-page-intro p { margin:0; max-width:640px; font-size:13px; }
#activitySystemPanel .as-page-intro > .as-actions { justify-content:flex-end; }
#activitySystemPanel .as-page-back { margin-bottom:12px; }
#activitySystemPanel .as-page-back .shellBtn { border:0; padding:0; color:var(--as-muted); }
#activitySystemPanel .as-card { border-radius:10px; padding:14px 16px; margin-bottom:12px; box-shadow:none; }
#activitySystemPanel .as-card .as-card { border:0; padding:16px 0 0; margin:0; background:transparent; }
#activitySystemPanel .as-head { margin-bottom:14px; gap:12px; flex-wrap:wrap; }
#activitySystemPanel .as-head h3 { margin:0; font-size:16px; }
#activitySystemPanel .as-table { border-radius:8px; }
#activitySystemPanel table { line-height:1.55; }
#activitySystemPanel th { font-size:12px; font-weight:600; }
#activitySystemPanel td { vertical-align:top; }
#activitySystemPanel tbody tr:hover { background:var(--shell-panel-soft,#f2f6f3); }
#activitySystemPanel td[data-label*="金额"],#activitySystemPanel td[data-label*="实收"],#activitySystemPanel td[data-label="积分"],#activitySystemPanel td[data-label="预计奖金"] { font-variant-numeric:tabular-nums; }
#activitySystemPanel .as-empty { padding:24px 16px; font-size:14px; line-height:1.6; min-height:0; }
#activitySystemPanel .as-help { margin:8px 0 12px; color:var(--as-muted); }
#activitySystemPanel .as-help p { margin:4px 0 12px; }
#activitySystemPanel .as-help summary { color:var(--as-muted); padding:6px 0; }
#activitySystemPanel .as-note { padding:10px 12px; margin:12px 0; }
#activitySystemPanel .as-section-disclosure > summary { padding:2px 0; font-size:14px; cursor:pointer; }
#activitySystemPanel .as-section-disclosure[open] > summary { margin-bottom:16px; }
#activitySystemPanel .as-list-tools { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin-bottom:12px; }
#activitySystemPanel .as-list-tools input { flex:1 1 180px; width:auto; min-width:0; }
#activitySystemPanel .as-list-tools select { flex:0 1 160px; width:auto; }
#activitySystemPanel .as-list-count { font-size:13px; color:var(--as-muted); margin-left:auto; white-space:nowrap; }
#activitySystemPanel .as-row-actions { display:flex;flex-wrap:wrap;align-items:center;gap:6px; }
#activitySystemPanel .as-row-actions .shellBtn { white-space:nowrap; }
#activitySystemPanel .as-work-queue { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 16px; }
#activitySystemPanel .as-work-queue .shellBtn { box-shadow:none; font-size:13px; background:var(--shell-panel-soft,#f2f6f3); }
#activitySystemPanel .as-priority-panel .as-work-queue { margin:0; }
#activitySystemPanel .as-stat { padding:18px; border-radius:10px; box-shadow:none; }
#activitySystemPanel .as-stat strong { font-size:30px; margin:12px 0 6px; letter-spacing:-.6px; }
#activitySystemPanel .as-stat-primary { border-color:var(--as-green); background:var(--as-green); color:#fff; }
#activitySystemPanel .as-stat-primary span,#activitySystemPanel .as-stat-primary em { color:#fff; }
#activitySystemPanel .as-people-strip { display:flex; align-items:center; flex-wrap:wrap; gap:8px 16px; margin:0 0 16px; font-size:13px; color:var(--as-muted); }
#activitySystemPanel .as-people-strip .shellBtn { background:transparent; border:0; box-shadow:none; padding:8px 0; }
#activitySystemPanel .as-target > div { display:grid; gap:8px; }
#activitySystemPanel .as-target strong { font-weight:500; color:var(--as-muted); }
#activitySystemPanel .as-target progress { height:6px; margin:12px 0 4px; }
#activitySystemPanel .as-source-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:0 0 20px; }
#activitySystemPanel .as-source-tile { display:flex; flex-direction:column; align-items:flex-start; gap:8px; border:1px solid var(--as-line); border-radius:10px; padding:16px; background:var(--shell-canvas,#fff); min-width:0; }
#activitySystemPanel .as-source-tile h4 { font-size:15px; margin:0; }
#activitySystemPanel .as-source-tile p { font-size:12px; color:var(--as-muted); margin:0; }
#activitySystemPanel .as-source-tile > .as-muted { font-size:12px; margin-bottom:6px; overflow-wrap:anywhere; }
#activitySystemPanel .as-source-tile button { margin-top:auto; }
#activitySystemPanel .as-evidence { font-size:12px; max-width:300px; }
#activitySystemPanel .as-evidence summary { cursor:pointer; padding:8px 0; color:var(--as-green); }
#activitySystemPanel .as-evidence p { white-space:pre-wrap; overflow-wrap:anywhere; max-height:180px; overflow:auto; }
#activitySystemPanel .as-source-options-list summary { cursor:pointer; padding:8px 0; color:var(--as-green); }
#activitySystemPanel .as-source-options-list > div { max-height:240px; overflow:auto; display:grid; gap:6px; margin-top:8px; }
#activitySystemPanel .as-source-options-list button { text-align:left; white-space:normal; }
#activitySystemPanel .as-config-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; margin:0; }
#activitySystemPanel .as-config-grid dt { font-size:12px; color:var(--as-muted); margin-bottom:6px; }
#activitySystemPanel .as-config-grid dd { margin:0; font-size:17px; font-weight:600; overflow-wrap:anywhere; }
#activitySystemPanel .as-closing-steps { display:flex; list-style:none; margin:0 0 16px; padding:0; gap:8px; }
#activitySystemPanel .as-closing-steps li { flex:1; border-bottom:3px solid var(--as-line); padding:12px 8px; font-size:13px; color:var(--as-muted); }
#activitySystemPanel .as-closing-steps li[aria-current] { border-color:var(--as-green); color:var(--as-green); font-weight:650; }
#activitySystemPanel .as-badge[data-state="pending"],#activitySystemPanel .as-badge[data-state="review"] { color:#805515; background:#fff3d9; }
#activitySystemPanel .as-badge[data-state="void"],#activitySystemPanel .as-badge[data-state="cancelled"] { color:var(--as-muted); background:var(--shell-panel-soft,#eee); }
#activitySystemPanel .as-roster-summary { justify-content:flex-start; padding:0 0 14px; border-bottom:1px solid var(--as-line); margin-bottom:16px; }
#activitySystemPanel .as-roster-summary > span:last-child { margin-left:auto; }
#activitySystemPanel .as-circle-item .as-circle-card { padding-left:30px; padding-right:8px; }
#activitySystemPanel .as-circle-drag { left:0; right:auto; }
#activitySystemPanel .as-owner-toggle strong { font-size:14px; }
#activitySystemPanel .as-dialog { width:min(820px,calc(100vw - 32px)); padding:0 24px; background:var(--shell-canvas,#fff); }
#activitySystemPanel .as-dialog .as-head { top:0; padding:18px 0 12px; margin:0; border-bottom:1px solid var(--as-line); }
#activitySystemPanel .as-dialog .as-head h3 { font-size:19px; }
#activitySystemPanel .as-dialog footer { bottom:0; padding:14px 0; margin-top:18px; border-top:1px solid var(--as-line); }
#activitySystemPanel .as-dialog .as-form-section { border:0; border-top:1px solid var(--as-line); padding:14px 0 8px; margin:18px 0 10px; scroll-margin-top:80px; }
#activitySystemPanel .as-dialog .as-form-section legend { font-size:16px; padding:0 12px 0 0; color:var(--shell-text,#203b34); }
#activitySystemPanel .as-dialog .as-form-section:focus { outline:none; }
#activitySystemPanel .as-dialog .as-form-section:focus-visible { outline:2px solid var(--as-green); outline-offset:4px; }
#activitySystemPanel .as-dialog .as-form-grid { gap:12px; }
#activitySystemPanel .as-dialog label { font-size:13px; line-height:1.5; gap:7px; }
#activitySystemPanel .as-dialog .as-wide > h3 { font-size:13px; margin:8px 0; color:var(--as-muted); font-weight:500; }
#activitySystemPanel .as-dialog .as-row { background:var(--shell-panel-soft,#f2f6f3); padding:12px; border-radius:8px; margin:8px 0; }
#activitySystemPanel .as-dialog [data-array="stock"] .as-row { grid-template-columns:repeat(3,minmax(0,1fr)); }
#activitySystemPanel :is(button,input,select,textarea):focus-visible { outline:2px solid var(--as-green); outline-offset:2px; }
#activitySystemPanel .shellBtn,#activitySystemPanel .as-activity-settings > summary {
  display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;line-height:20px;padding:7px 12px;box-sizing:border-box;white-space:nowrap;font-size:13px;font-weight:550;border-radius:7px;
}
#activitySystemPanel .as-activity-settings > summary { border:1px solid var(--as-line);background:var(--shell-canvas,#fdfefd);color:inherit;cursor:pointer;list-style:none; }
#activitySystemPanel .as-activity-settings > summary::-webkit-details-marker { display:none; }
#activitySystemPanel .as-activity-settings > summary::after { content:"⌄";font-size:12px; }
#activitySystemPanel .as-workspace-header > .as-head { align-items:center;margin-bottom:8px; }
#activitySystemPanel .as-workspace-header .as-tabs { margin-bottom:14px; }
#activitySystemPanel .as-work-toolbar { display:flex;align-items:center;justify-content:space-between;gap:10px 16px;flex-wrap:wrap;margin-bottom:12px; }
#activitySystemPanel .as-ledger-totals { display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px;font-size:13px;color:var(--as-muted); }
#activitySystemPanel .as-ledger-totals strong { margin-left:6px;font-size:18px;color:#203b34;font-variant-numeric:tabular-nums; }
#activitySystemPanel .as-inline-help { position:relative;font-size:12px; }
#activitySystemPanel .as-inline-help summary { cursor:pointer;list-style:none;text-decoration:underline;text-underline-offset:3px;padding:8px 0; }
#activitySystemPanel .as-inline-help p { position:absolute;left:0;top:24px;z-index:8;width:280px;max-width:70vw;padding:12px;border:1px solid var(--as-line);background:var(--shell-canvas,#fdfefd);box-shadow:0 6px 20px #203b341a;border-radius:8px; }
#activitySystemPanel .as-member-scopes { display:flex;gap:18px;border-bottom:1px solid var(--as-line);margin:-4px 0 12px;overflow:auto; }
#activitySystemPanel .as-member-scopes button { padding:10px 2px;border:0;border-bottom:2px solid transparent;background:none;color:var(--as-muted);font:inherit;font-size:13px;white-space:nowrap;cursor:pointer; }
#activitySystemPanel .as-member-scopes button[aria-pressed=true] { border-bottom-color:var(--as-green);color:var(--as-green);font-weight:650; }
#activitySystemPanel .as-cell-sub { display:block;color:var(--as-muted);font-size:12px;margin-top:3px; }
#activitySystemPanel .as-amount-due { color:var(--as-green); }
#activitySystemPanel #as-submitted-list table { min-width:0;table-layout:fixed;font-size:13px; }
#activitySystemPanel #as-submitted-list :is(th,td) { padding:10px 8px;overflow-wrap:anywhere; }
#activitySystemPanel #as-submitted-list :is(th,td):nth-child(1) { width:18%; }
#activitySystemPanel #as-submitted-list :is(th,td):nth-child(2) { width:16%; }
#activitySystemPanel #as-submitted-list :is(th,td):nth-child(3),#activitySystemPanel #as-submitted-list :is(th,td):nth-child(4),#activitySystemPanel #as-submitted-list :is(th,td):nth-child(5) { width:12%;text-align:right;font-variant-numeric:tabular-nums; }
#activitySystemPanel #as-submitted-list :is(th,td):nth-child(6) { width:18%; }
#activitySystemPanel #as-submitted-list :is(th,td):last-child { width:12%; }
#activitySystemPanel #as-submitted-list td .shellBtn { min-height:32px;padding:5px 8px;font-size:12px; }
#activitySystemPanel .as-page-back { display:flex;align-items:center;gap:10px;margin-bottom:6px;color:var(--as-muted); }
#activitySystemPanel .as-page-back h3 { margin:0;font-size:16px;color:var(--shell-text,#203b34); }
#activitySystemPanel .as-record-summary {display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 16px;align-items:center;padding:14px 0;font-size:13px;color:var(--as-muted)}
#activitySystemPanel .as-dialog .as-head {flex-direction:row;align-items:center;flex-wrap:nowrap}
#activitySystemPanel .as-dialog .as-head .shellBtn {margin-left:auto;flex-shrink:0}
#activitySystemPanel .as-record-summary strong {color:var(--shell-text,#203b34);font-size:17px;margin-right:10px}
#activitySystemPanel .as-record-actions {padding:0 0 12px;border-bottom:1px solid var(--as-line)}
#activitySystemPanel .as-record-actions .as-actions {justify-content:flex-start;gap:6px}
#activitySystemPanel .as-record-section {padding:16px 0;border-bottom:1px solid var(--as-line)}
#activitySystemPanel .as-record-section:last-child {border-bottom:0}
#activitySystemPanel .as-record-section>h4 {font-size:15px;margin:0 0 12px}
#activitySystemPanel .as-record-groups {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
#activitySystemPanel .as-record-groups section {min-width:0}
#activitySystemPanel .as-record-groups section:last-child:nth-child(odd) {grid-column:1/-1}
#activitySystemPanel .as-record-groups h4 {font-size:13px;margin:0 0 8px;color:var(--as-muted)}
#activitySystemPanel .as-record-fields {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;margin:0;font-size:13px}
#activitySystemPanel .as-record-fields>div {min-width:0}
#activitySystemPanel .as-record-fields dt,#activitySystemPanel .as-record-stock>span {color:var(--as-muted);font-size:12px}
#activitySystemPanel .as-record-fields dd {margin:3px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;font-weight:550}
#activitySystemPanel .as-record-stock {font-size:13px;margin-top:10px}
#activitySystemPanel .as-record-stock p {margin:5px 0 0;padding:7px 9px;background:var(--shell-panel-soft,#f2f6f3);overflow-wrap:anywhere}
#activitySystemPanel .as-record-note {font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere;margin:0}
#activitySystemPanel .as-record-version {padding:14px 0;border-top:1px solid var(--as-line)}
#activitySystemPanel .as-record-version-head {display:flex;justify-content:space-between;flex-wrap:wrap;gap:4px 12px;font-size:13px;margin-bottom:12px}
#activitySystemPanel .as-record-version-head span {color:var(--as-muted)}
#activitySystemPanel .as-page-back .shellBtn { min-height:28px; }
#activitySystemPanel .as-dialog .as-head .shellBtn { align-self:center; }
#activitySystemPanel :is(h2,h3,h4) { overflow-wrap:anywhere;min-width:0; }
@media(max-width:650px) {
  #activitySystemPanel .shellBtn,#activitySystemPanel .as-activity-settings > summary { min-height:40px; }
  #activitySystemPanel .as-member-scopes { gap:14px; }
  #activitySystemPanel #as-submitted-list :is(th,td):nth-child(n) { width:auto;text-align:left; }
  #activitySystemPanel .as-work-toolbar > .as-actions { justify-content:flex-start;gap:6px; }
  #activitySystemPanel .as-ledger-totals strong { font-size:16px; }
  #activitySystemPanel .as-inline-help p { left:auto;right:0; }
  #activitySystemPanel .as-record-groups { grid-template-columns:1fr;gap:14px; }
  #activitySystemPanel .as-record-groups section:last-child:nth-child(odd) { grid-column:auto; }
}
@media(max-width:760px) {
  #activitySystemPanel .as-page-intro { align-items:flex-start; }
  #activitySystemPanel .as-page-intro > .as-actions { justify-content:flex-start; }
  #activitySystemPanel .as-source-grid { grid-template-columns:1fr; }
  #activitySystemPanel .as-source-tile { display:grid; grid-template-columns:minmax(0,1fr) auto; }
  #activitySystemPanel .as-source-tile h4,#activitySystemPanel .as-source-tile p,#activitySystemPanel .as-source-tile > span { grid-column:1; }
  #activitySystemPanel .as-source-tile button { grid-column:2; grid-row:1 / 4; align-self:center; margin:0; }
  #activitySystemPanel .as-config-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px 12px; }
  #activitySystemPanel .as-grid.as-submission-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
  #activitySystemPanel .as-stat-primary { grid-column:1 / -1; }
  #activitySystemPanel .as-submission-metrics .as-stat strong { font-size:25px; }
  #activitySystemPanel .as-card { padding:14px; }
  #activitySystemPanel .as-list-tools input { flex-basis:100%; }
  #activitySystemPanel .as-list-tools select { flex:1 1 120px; }
  #activitySystemPanel .as-list-count { width:100%; }
  #activitySystemPanel .as-dialog { padding:0 16px; width:calc(100vw - 16px); }
  #activitySystemPanel .as-dialog .as-head { top:0; }
  #activitySystemPanel .as-dialog footer { bottom:0; flex-wrap:wrap; }
  #activitySystemPanel .as-dialog [data-array="stock"] .as-row { grid-template-columns:repeat(2,minmax(0,1fr)); }
  #activitySystemPanel .as-roster-summary > span:last-child { margin-left:0; }
}
@media(max-width:380px) {
  #activitySystemPanel .as-record-fields {grid-template-columns:1fr}
  #activitySystemPanel .as-source-tile { display:flex; }
  #activitySystemPanel .as-dialog .as-row,#activitySystemPanel .as-dialog [data-array="stock"] .as-row { grid-template-columns:1fr; }
}
@media(prefers-reduced-motion:reduce) { #activitySystemPanel * { scroll-behavior:auto!important; transition:none!important; } }
/* Repeatable rows are grids, including wide stock and activity configuration rows. */
#activitySystemPanel .as-dialog .as-row { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)) auto; }
#activitySystemPanel .as-dialog .as-row label { min-width:0; }
#activitySystemPanel .as-dialog [data-array="stock"] .as-row,#activitySystemPanel .as-dialog [data-array="slots"] .as-row { grid-template-columns:repeat(3,minmax(0,1fr)); }
#activitySystemPanel .as-badge[data-state="unavailable"],#activitySystemPanel .as-badge[data-state="error"],#activitySystemPanel .as-badge[data-state="rejected"] { color:#973c30; background:#fff0ea; }
@media(max-width:650px) {
  #activitySystemPanel .as-dialog .as-row,#activitySystemPanel .as-dialog [data-array="stock"] .as-row,#activitySystemPanel .as-dialog [data-array="slots"] .as-row { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:380px) {
  #activitySystemPanel .as-dialog .as-row,#activitySystemPanel .as-dialog [data-array="stock"] .as-row,#activitySystemPanel .as-dialog [data-array="slots"] .as-row { grid-template-columns:minmax(0,1fr); }
}
#activitySystemPanel .as-dialog [hidden] { display:none!important; }
#activitySystemPanel .as-queue-clear { font-size:13px; color:var(--as-muted); padding:4px 0; }
#activitySystemPanel .as-card.as-editor { padding:0; overflow:clip; }
#activitySystemPanel .as-card.as-editor .as-editor-head { padding:16px 18px; }
#activitySystemPanel .as-dialog form > .as-form-grid { margin-top:18px; }
#activitySystemPanel .as-dialog form > label { margin:16px 0; }
#activitySystemPanel .as-dialog .as-form-grid > p { font-size:13px; color:var(--as-muted); line-height:1.65; }
