/* Extracted from ecosystem.css — UI audit utility leftovers and action/stat rows. */
/* Load after ecosystem.css and before existing ecosystem feature sheets; original order preserved. */

.pr-hint-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 6px 0;
}

/* Client/referral cabinet → ecosystem_cabinet.css. */

.workspace-section-head {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--tg-theme-hint-color, #6d7582);
}

.module-lock-benefits {
  margin: 8px 0 0;
  padding-left: 18px;
  text-align: left;
}

.ecosystem-card.is-muted {
  opacity: 0.65;
}

.is-in { color: var(--pos, #1a8d3e); }
.is-out { color: var(--neg, #d11); }
.is-zero { color: var(--tg-theme-hint-color, #888); }

.ecosystem-danger-actions .del {
  font-weight: 650;
}

.is-hidden { display: none !important; }

/* Dashboard modal / onboard → ecosystem_dashboard.css. */

.search-dim { opacity: .7; }
.search-snippet { opacity: .75; }

/* Deal form modal leftovers → ecosystem_deals.css. */

/* B2B badge hit → ecosystem_market.css. */

/* Registry empty state → ecosystem_deals.css. */

/* Standalone stage → ecosystem_stage.css. */

/* Cabinet switcher → ecosystem_cabinet.css. */

/* Personal helpers → ecosystem_checkout.css. */

/* Lite home skeleton → ecosystem_dashboard.css. */

/* Deal bar rows → ecosystem_deals.css. */
.led-sheets-gap { margin-bottom: 6px; }

.lead-card {
  border-left: 3px solid var(--lead-tone, var(--tg-theme-hint-color, #9aa0a6));
}
.lead-card.is-new { --lead-tone: #8e44ad; }
.lead-card.is-answered { --lead-tone: #0a8a8a; }
.lead-card.is-closed { --lead-tone: #9aa0a6; }

/* .ban-prose/.ban-watch-row → ecosystem_finance.css. */

/* Deal form segment → ecosystem_deals.css. */

/* .reg-colpick-label → ecosystem_deals.css. */

/* Ledger sheet utilities → ecosystem_finance.css. */

/* --- UI audit wave: typography, bounds, unified actions -------------------- */

.pf-card-head--plain,
.ecosystem-card > .pf-card-head:not(:has(> b)),
.mk-card-title,
.card-h {
  margin: 0 0 4px;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.led-stat-row,
.ecosystem-stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.led-stat-row > *,
.ecosystem-stat-row > * {
  min-width: 0;
}

.led-stat-row .led-card-label,
.ecosystem-stat-row .led-card-label {
  flex: 1 1 auto;
  overflow-wrap: anywhere;
}

.led-stat-row > b,
.ecosystem-stat-row > b {
  flex: 0 0 auto;
  text-align: right;
  font-size: 13px;
}

:where(.ui-actions, .fbtns) {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  min-width: 0;
}

:where(.ui-actions, .fbtns) > button,
:where(.ui-actions, .fbtns) > .rk,
:where(.ui-actions, .fbtns) > .btn-primary,
:where(.ui-actions, .fbtns) > .btn {
  flex: 1 1 auto;
  min-width: 0;
  min-height: var(--ui-control-h, 40px);
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

body.pro :where(.ui-actions, .fbtns) {
  justify-content: flex-start;
}

body.pro :where(.ui-actions, .fbtns) > button,
body.pro :where(.ui-actions, .fbtns) > .rk,
body.pro :where(.ui-actions, .fbtns) > .btn-primary,
body.pro :where(.ui-actions, .fbtns) > .btn {
  flex: 0 1 auto;
  min-width: 118px;
  max-width: 260px;
  min-height: 36px;
  padding: 6px 10px;
  font-size: 12px;
}

body.lite :where(.ui-actions, .fbtns) > button,
body.lite :where(.ui-actions, .fbtns) > .rk,
body.lite :where(.ui-actions, .fbtns) > .btn-primary {
  min-height: 44px;
}

#led-filters.ecosystem-field-row {
  flex-wrap: wrap;
  align-items: stretch;
}

#led-filters.ecosystem-field-row > :where(select, input) {
  flex: 1 1 10rem;
  min-width: 0;
}

#led-filters.ecosystem-field-row > button {
  flex: 0 1 auto;
}

/* personal-trade-form / ref-ledger → ecosystem_checkout.css. */

/* settings-status / restore-preview → ecosystem_cabinet.css. */

/* ref-ledger/settings-status mobile → checkout/cabinet css. */

/* .personal-trade-form flex → ecosystem_checkout.css. */

.dash-onboard-step.ecosystem-field-row {
  align-items: flex-start;
}

.note-actions.ui-actions > button {
  min-width: 0;
  flex: 1 1 7rem;
}

.pc-ticket-body,
.note-body,
.personal-history-row {
  overflow-wrap: anywhere;
  word-break: break-word;
}
/* fin-prose/led widths → ecosystem_finance.css. */
