/* =========================================================
   Company info, on design system v2.
   The page already reads its colours by name, and the frame maps every
   one of them onto v2's tokens, so it follows the theme. This sheet does
   the rest: AA in both themes, no capitals, and 44px targets on touch.
   Every rule starts with :root[data-v2] and reads only v2's tokens.
   ========================================================= */

/* ── no capitals: every label reads as it is written ── */
:root[data-v2] .company-info-view :is(.ci-crown__eyebrow, .ci-rail h6, .ci-card__badge, .ci-table__row.is-head, .ci-file__open,
  .ci-foot h6, .ci-load, .ci-form__title, .ci-form__label, .ci-form__add-row, .ci-add-entry) { text-transform: none; }

/* small orange text in the accent's text shade (the fill was 3.2:1) */
:root[data-v2] .company-info-view .ci-crown__eyebrow { color: var(--z-accent-text); }

/* touch widths: every control a 44px target, the row's copy, reveal,
   edit and delete included, and the search field's own box */
@media (max-width: 1023px) {
  :root[data-v2] .company-info-view :is(.row__actions button, .ci-edit-toggle, .ci-tabsbar button, .ci-search button) { min-height: 44px; min-width: 44px; }
  :root[data-v2] .company-info-view .ci-search input { min-height: 44px; }
}

/* ── a phone: the search field at 16px, so the phone does not zoom into
   it, and each section's review line wraps under its title ── */
@media (max-width: 599px) {
  :root[data-v2] .company-info-view .ci-search input { font-size: 16px; }
  /* the pulse row is a grid here, and gave the search box 71px: one column */
  :root[data-v2] .company-info-view .ci-pulse { grid-template-columns: minmax(0, 1fr); }
  :root[data-v2] .company-info-view .ci-pulse .ci-search { width: 100%; }
  :root[data-v2] .company-info-view .ci-section__meta { white-space: normal; text-align: left; }
}
