/* The owner's figures (/revenue, /stats) and the business pages (/seats,
   /teams): what those pages add beyond their own older rules. Tokens only,
   from theme.css, so a colourway or dark mode reaches all of it. */

/* A line saying what could not be read, or was cut short. */
.biz-warn {
  margin: var(--space-3) 0;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--warn);
  border-radius: var(--radius-md);
  background: var(--warn-soft);
  color: var(--ink);
  font-size: var(--text-sm);
  line-height: 1.5;
}
.biz-warn strong { font-weight: 700; }

/* A wide table on a narrow screen scrolls inside its own box, never the
   page. */
.biz-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.biz-scroll table { min-width: 640px; }
.biz-num { font-family: var(--font-mono); text-align: right; white-space: nowrap; }
th.biz-num { font-family: inherit; }
.biz-muted { color: var(--ink-soft); }
.biz-row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; margin: var(--space-4) 0; }
.biz-fine { font-size: var(--text-xs); color: var(--ink-soft); line-height: 1.55; }

/* The funnel on /stats: one step a row, with the share of the step before. */
.biz-funnel { list-style: none; margin: var(--space-3) 0 var(--space-5); padding: 0; }
.biz-funnel li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: var(--space-3);
  align-items: baseline;
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--rule);
}
.biz-funnel .biz-step { font-size: var(--text-sm); }
.biz-funnel .biz-step small { display: block; color: var(--ink-soft); font-size: var(--text-xs); }
.biz-funnel .biz-n { font-family: var(--font-mono); font-size: var(--text-md); text-align: right; }
.biz-funnel .biz-of { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--ink-soft); min-width: 7em; text-align: right; }

/* /seats: the organisation's name and logo, and the invitations from a
   spreadsheet. */
.biz-logo { display: block; max-height: 48px; max-width: 220px; margin: var(--space-2) 0; }
.biz-results { list-style: none; margin: var(--space-3) 0 0; padding: 0; font-size: var(--text-sm); }
.biz-results li { padding: var(--space-2) 0; border-bottom: 1px solid var(--rule); overflow-wrap: anywhere; }
.biz-results .biz-bad { color: var(--danger); }
.biz-file { font-size: var(--text-sm); min-height: 44px; max-width: 100%; }

/* /teams: the questions a buyer's security team asks, and what to send for
   an invoice. */
.biz-steps { margin: var(--space-3) 0; padding-left: var(--space-5); }
.biz-steps li { margin: var(--space-2) 0; line-height: 1.55; }
