/* company screens: workforce, agent, learning, activity, decisions — Design System v1 tokens only */

/* ---------- workforce ---------- */
.wf-card { display: grid; gap: 12px; align-content: start; padding: 16px; }
.wf-head { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; }
.wf-head:hover .card-title { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--border-strong); }
.wf-specs { display: grid; gap: 6px; }
.wf-spec { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 10px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .025); border: 1px solid var(--border-quiet); font-size: 12.5px; color: var(--text-2); transition: border-color var(--fast) var(--ease), color var(--fast) var(--ease); }
.wf-spec:hover { border-color: var(--border-strong); color: var(--text-1); }
.wf-spec .chev { color: var(--text-disabled); }
.wf-steps { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.wf-steps a.chip { transition: border-color var(--fast) var(--ease), color var(--fast) var(--ease); }
.wf-steps a.chip:hover { border-color: var(--border-strong); color: var(--text-1); }
.wf-notlive { color: var(--text-3); border-style: dashed; }

/* Concept roster: not live — no aura, desaturated, dashed. */
.wf-roster { padding: 16px; border-radius: var(--r-md); border: 1px dashed var(--border-card); }
.wf-concepts { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
.wf-concept { display: grid; justify-items: center; text-align: center; gap: 4px; padding: 8px 4px; color: var(--text-3); }
.wf-concept .avatar img { filter: grayscale(.9) brightness(.65); opacity: .55; }

/* ---------- agent detail hero (L4: .hero.agents) ---------- */
.ag-hero { padding-bottom: 28px; }
.ag-hero-body { display: grid; justify-items: center; text-align: center; gap: 12px; }
.ag-hero-text { justify-items: center; }
.ag-hero-text .quote { max-width: 520px; }
.ag-portrait::before { width: 96%; left: 2%; top: 6%; }
.ag-hero-status { justify-content: center; }
@media (min-width: 1024px) {
  .ag-hero-body { grid-template-columns: minmax(0, 1fr) auto; text-align: left; justify-items: start; align-items: center; gap: 24px; }
  .ag-hero-text { justify-items: start; order: 1; }
  .ag-portrait { order: 2; }
  .ag-hero-status { justify-content: flex-start; }
}

/* ---------- learning ---------- */
.lr-band { --hero-img: url(/assets/backgrounds/learning-archive.webp); --hero-img-wide: url(/assets/backgrounds/learning-archive.webp); }
@media (min-width: 1024px) { .lr-band { min-height: 0; padding: 24px 28px; } }
.lr-sem { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .lr-sem { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .lr-sem { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.lr-sem-item { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); }
.lr-sem-item > .ico { margin-top: 2px; color: var(--text-3); }
.lr-list { display: grid; gap: 12px; }
@media (min-width: 1024px) { .lr-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lr-item { display: grid; gap: 8px; align-content: start; overflow-wrap: anywhere; border-left-width: 2px; }
.lr-item > .row > .btn { flex: none; }
.lr-item.is-established { border-left-color: color-mix(in srgb, var(--st-online) 45%, transparent); }
.lr-item.is-candidate { border-style: dashed; border-left-style: solid; border-left-color: color-mix(in srgb, var(--st-validating) 50%, transparent); }
.lr-chip { height: 24px; font-size: 11px; padding: 0 8px; }

/* ---------- activity ---------- */
.act-card { padding: 4px 16px; }
.timeline .act-item { border-radius: var(--r-sm); transition: background var(--fast) var(--ease); }
.timeline .act-item:hover { background: rgba(255, 255, 255, .025); }
.act-role { transition: color var(--fast) var(--ease); }
.act-role:hover { color: var(--text-2); }
.act-count { height: 20px; font-size: 11px; padding: 0 7px; margin-left: 4px; vertical-align: 1px; }

/* ---------- decisions ---------- */
.dc-total { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-2); }
.dc-list { grid-template-columns: minmax(0, 1fr); }
.dc-list .grow { overflow-wrap: anywhere; }
.dc-chosen { border-color: var(--border-active); color: var(--text-1); }
.dc-unknowns { margin: 4px 0 0; padding-left: 18px; }
.dc-unknowns li + li { margin-top: 2px; }
