/* Company Settings → Forecast Review Queue tab — per-subsection fieldsets.
 *
 * 2026-09-07 restructure (founder request): the tab was ONE wall-of-text
 * fieldset — a 14-checkbox list followed by five orphaned hint paragraphs
 * whose triggers sat 40 lines above them. Each subsection (queue basics,
 * floors, core triggers, and every prose-heavy trigger family) now owns a
 * bordered fieldset holding its controls AND its explanation together.
 * Classes, not inline styles (design-system ratchet). */

.frq-fieldset {
  border: 1px solid #e7e3da;
  border-radius: 8px;
  padding: 14px 16px 16px;
  margin: 0 0 16px 0;
  background: #fff;
}
.frq-fieldset legend {
  padding: 0 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #2a2a2a;
}
.frq-fieldset > .form-group:last-child {
  margin-bottom: 0;
}
/* Trigger fieldsets carry their explanation directly under their controls. */
.frq-fieldset .form-hint {
  display: block;
  margin-top: 6px;
}

/* Stacked checkbox/control rows (generalizes .dsh-settings-fieldset). */
.frq-fieldset-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* T12 materiality floors (2026-09-15) — a subordinate row under the Override
 * Drifted checkbox. Indented to read as a qualifier on the trigger above it, and
 * each number input gets its OWN <label> (the first cut wrapped both inputs in
 * one label, so clicking the text focused an arbitrary control). */
.frq-materiality-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding-left: 22px;
}
.frq-materiality-lead {
  color: #6b675e;
}
.frq-materiality-field {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  margin: 0;
}
.frq-materiality-input {
  max-width: 88px;
}
.frq-materiality-or {
  font-weight: 700;
  color: #6b675e;
}

/* Horizontal mini-grids: ABC floor multipliers + Extreme Order ratio tiers. */
.frq-threshold-grid {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.frq-threshold-grid label {
  font-size: 12px;
  font-weight: 600;
}
