/* Opportunities → bulk actions on a selection (public/opportunities-bulk.js). */
.ob-bar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 10px 16px; border-bottom: 1px solid var(--line); min-height: 48px;
}
.ob-bar.on { background: var(--brand-soft); }
.ob-check { width: 16px; height: 16px; accent-color: var(--brand); flex: none; cursor: pointer; }
.ob-count { font-size: 13px; font-weight: 600; color: var(--text); }
.ob-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-left: 8px; }
.ob-act {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px;
  border: 1px solid var(--line); border-radius: 8px; background: var(--surface);
  font: inherit; font-size: 13px; color: var(--text); cursor: pointer;
}
.ob-act:hover { border-color: var(--brand); color: var(--brand); }
.ob-act.danger:hover { border-color: var(--red); color: var(--red); }
.ob-dlg.wide { max-width: 620px; }
.ob-section { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }
.ob-fields { display: flex; flex-direction: column; gap: 10px; margin-bottom: 10px; }
.ob-field { display: grid; grid-template-columns: 150px 1fr 28px; gap: 10px; align-items: center; }
.ob-field-name { font-size: 13px; font-weight: 550; }
.ob-field-inputs { display: flex; gap: 8px; }
.ob-field-inputs > * { flex: 1; min-width: 0; }
.dlg select.ob-add { color: var(--brand); }
.ob-note { font-size: 12.5px; color: var(--muted); margin: 6px 0 10px; }
.ob-summary { border: 1px solid var(--line); border-radius: 8px; margin-bottom: 14px; }
.ob-summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; font-size: 13px; border-bottom: 1px solid var(--line); }
.ob-summary-row:last-child { border-bottom: 0; }
.ob-tags { max-height: 200px; overflow-y: auto; border: 1px solid var(--line); border-radius: 8px; padding: 6px; margin: -6px 0 13px; }
.ob-tag { display: flex; align-items: center; gap: 8px; padding: 5px 6px; font-size: 13px; cursor: pointer; border-radius: 6px; }
.ob-tag:hover { background: var(--hover); }
.dlg .ob-tag input { width: auto; }
.ob-empty { font-size: 13px; color: var(--muted); padding: 6px; }
@media (max-width: 640px) { .ob-field { grid-template-columns: 1fr 28px; } .ob-field-name { grid-column: 1 / -1; } }
.ob-field-hint { grid-column: 2 / 3; margin-top: -4px; }
.ob-act:disabled { opacity: .5; cursor: not-allowed; }
.ob-act:disabled:hover { border-color: var(--line); color: var(--text); }

/* Opportunities → list tools (public/opportunities-list.js). */
.ol-table-card { padding: 0; }
.ol-scroll { overflow-x: auto; }
.ol-table { width: 100%; }
.ol-table td, .ol-table th { white-space: nowrap; }
.ob-cell { width: 34px; }
.chip-btn.on { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.ol-rules { display: flex; flex-direction: column; gap: 10px; margin: 10px 0; }
.ol-rule { display: grid; grid-template-columns: 170px 150px 1fr 28px; gap: 8px; align-items: start; }
.ol-value { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.ol-value > input { flex: 1; min-width: 90px; }
.ol-multi { max-height: 140px; margin: 0; flex: 1; }
.ol-sort { display: grid; grid-template-columns: 1fr 120px 28px; gap: 6px; margin: 6px 0; }
.ol-sort select { padding: 6px 8px; border: 1px solid var(--line); border-radius: 7px; font: inherit; font-size: 13px; }
.ol-pop .btn.small { margin-top: 8px; }
.ol-fields { display: flex; flex-direction: column; margin-top: 8px; max-height: 340px; overflow-y: auto; }
.ol-field { display: flex; align-items: center; gap: 8px; padding: 6px 4px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.ol-field.locked { color: var(--muted); }
.dlg .ol-field input { width: auto; }
.ol-field .grow, .ol-manage-row .grow { flex: 1; }
.ol-manage { display: flex; flex-direction: column; }
.ol-manage-row { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
@media (max-width: 640px) { .ol-rule { grid-template-columns: 1fr 1fr 28px; } .ol-value { grid-column: 1 / -1; } }
