/* The company's AI card on Settings (companies plan D6 as amended on
   2026-10-02, D7): its rows reuse the configurator's rows in suggest.css;
   these are the status line, the two buttons, the outcome of a test, the use
   figures and the locked card. */
.aucra-company-outcome {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
}
.aucra-company-outcome.is-works {
  color: var(--pass);
}
.aucra-company-outcome.is-refused {
  color: var(--warn);
}
.aucra-company-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.aucra-company-mark {
  font-size: 15px;
}
.aucra-company-locked {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 18px;
}
.aucra-company-lock-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
}
.aucra-company-lock {
  font-size: 16px;
  color: var(--muted);
}
/* The off line keeps the text ink on the warn wash, as the drawer's failure
   line does: the warn orange on the wash is too close to the floor. */
.aucra-company-status {
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 8px;
}
.aucra-company-status.is-off {
  background: var(--warn-wash);
  border-left: 3px solid var(--warn);
}
.aucra-company-status.is-on {
  background: var(--pass-wash);
  border-left: 3px solid var(--pass);
}
/* Company AI settings plan section 6: a role that calls nothing reads quiet,
   not as a warning, and so does the outcome "This role is off." The Editor's
   locked card lists each role's In use line. */
.aucra-company-status.is-idle {
  background: var(--mist);
  border-left: 3px solid var(--line);
}
.aucra-company-outcome.is-quiet {
  color: var(--muted);
}
.aucra-company-roles {
  display: flex;
  flex-direction: column;
}
.aucra-company-role {
  display: flex;
  gap: 16px;
  font-size: 13px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
}
.aucra-company-role-name {
  flex: 0 0 140px;
  font-weight: var(--weight-bold);
}
@media (max-width: 600px) {
  .aucra-company-role {
    flex-direction: column;
    gap: 2px;
  }
  .aucra-company-role-name {
    flex: none;
  }
}
