/* cogitator/army-view-col1.css v2 */
/* Army Viewer Column 1 — read-only unit list, viewer-specific chrome */

/* DevAgent8 - 2026-05-28
   What: v2 — Removed the header "Edit Army" button styles (the action moved to
         the main view header). Footer now mirrors ArmyBuilder Col3: total / max
         points (red when over) plus a full-width "Edit Army Units" button. */

/* DevAgent8 - 2026-05-28
   What: v1 — Owns only the viewer-specific Col1 chrome: list body, empty state,
         and the points footer. Cards, filter controls, the column
         header/title/view-btn, sort select, filter panel, and list container
         are reused from army-builder-col1.css. */

/* ── Scrollable body ── */
.av-col-1__body {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
}

/* ── Empty state ── */
.av-col-1__empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 80px;
  padding: var(--space-6) var(--space-4);
}

.av-col-1__empty-text {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--text-dim);
  font-style: italic;
  text-align: center;
}

/* ── Pinned footer — points display + Edit Army Units button ── */
.av-col-1__footer {
  border-top: 1px solid var(--border);
  padding: var(--space-3) var(--space-4);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  background: var(--surface);
}

/* Points display — centered, larger */
.av-col-1__points-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
}

.av-col-1__totals-pts {
  font-family: var(--font-heading);
  font-size: calc(var(--text-base) * 1.25);
  font-weight: var(--heading-weight);
  color: var(--text-hi);
  letter-spacing: var(--heading-tracking);
  text-align: center;
}

.av-col-1__totals-pts--over {
  color: var(--red);
}

/* Edit Army Units button — full width, amber (mirrors Col3 save button) */
.av-col-1__edit-units-btn {
  width: 100%;
  height: 44px;
  background: var(--amber);
  color: var(--text-inv);
  border: none;
  font-family: var(--font-heading);
  font-size: var(--text-md);
  font-weight: var(--heading-weight);
  letter-spacing: var(--heading-tracking);
  text-transform: var(--heading-transform);
  border-radius: var(--radius);
  cursor: pointer;
  min-height: var(--touch-target);
  transition: background var(--transition-fast);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.av-col-1__edit-units-btn:hover {
  background: var(--amber-dim);
}
