/* Resourcing Agent — firm-mapped work products */

.resource-work-product-list,
.resource-agent-inbox {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.resource-work-product {
  border: 1px solid var(--resource-line, rgba(201, 169, 110, 0.22));
  background: var(--resource-inset, rgba(10, 10, 10, 0.35));
}

.resource-work-product-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.resource-work-product-toggle-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.resource-work-product-toggle-copy strong {
  font-size: 13px;
  font-weight: 500;
}

.resource-work-product-toggle-copy small {
  color: var(--resource-muted, #c8c0b0);
  font-size: 11px;
}

.resource-work-product-chevron {
  flex: 0 0 auto;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--resource-gold, #c9a96e);
}

.resource-work-product.is-open .resource-work-product-toggle {
  border-bottom: 1px solid var(--resource-line, rgba(201, 169, 110, 0.22));
}

.resource-firm-impact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px 14px 14px;
}

.resource-firm-impact-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.resource-proposal-status {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--resource-gold, #c9a96e);
}

.resource-gate-copy,
.resource-handoff-preview,
.resource-map-intro {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
}

.resource-field-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--text-secondary, var(--resource-muted, #c8c0b0));
}

.resource-field-block h4 {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--brand-gold, var(--resource-gold, #c9a96e));
}

.resource-field-block p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--resource-text, inherit);
}

.resource-impact-form textarea,
.resource-impact-form input[type="text"] {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 10px;
  border: 1px solid rgba(201, 169, 110, 0.22);
  border-radius: 2px;
  background: rgba(10, 10, 10, 0.55);
  color: inherit;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.45;
}

.theme-light .resource-impact-form textarea,
.theme-light .resource-impact-form input[type="text"] {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(201, 169, 110, 0.4);
}

.resource-impact-form textarea:focus,
.resource-impact-form input[type="text"]:focus {
  outline: 1px solid rgba(201, 169, 110, 0.45);
}

.resource-firm-map {
  display: grid;
  gap: 10px;
}

.resource-firm-map h5 {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(201, 169, 110, 0.85);
}

.resource-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.resource-chip {
  padding: 4px 8px;
  border: 1px solid rgba(201, 169, 110, 0.22);
  background: rgba(201, 169, 110, 0.06);
  font-size: 11px;
  line-height: 1.35;
}

.resource-map-empty {
  margin: 0;
  font-size: 12px;
}

.resource-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.resource-page .ri-agent-pill,
.resource-work-product .ri-agent-pill {
  margin: 0;
}
