/* The environment check shares the studio's warm green form controls. */
.environment-check-card {
  margin: 0 0 19px;
  padding: 14px 15px;
  border: 1px solid #dbe6d8;
  border-radius: 14px;
  background: #f5f8ef;
  color: #355840;
}
.environment-check-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.environment-check-card-heading strong { font-size: 13px; }
.environment-check-card .secondary-button { min-height: 34px; padding: 7px 13px; }
.environment-check-card p { margin: 10px 0 0; color: #637763; font-size: 12px; line-height: 1.65; overflow-wrap: anywhere; }
.environment-check-card > .text-button { margin-top: 8px; padding: 3px 0; }
.topbar [data-environment-open] { padding: 8px 10px; border-radius: 8px; white-space: nowrap; }
.topbar [data-environment-open]:hover { background: #eff5ee; }
.environment-badges { flex-wrap: wrap; min-width: 0; }
#environment-dialog.modal { max-width: 600px; overflow-y: auto; }
.environment-check-overview {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px;
  margin: 0 0 16px;
  border: 1px solid #dbe8d9;
  border-radius: 14px;
  background: #f2f7ed;
  color: #345d42;
}
.environment-check-mark { display: grid; flex: 0 0 25px; width: 25px; height: 25px; place-items: center; border: 1px solid #c5d6bf; border-radius: 50%; background: #fffdf8; font-size: 15px; }
.environment-check-overview p { min-width: 0; margin: 2px 0; font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.environment-check-overview[data-status="warning"], .environment-check-overview[data-status="failed"] { background: #fbf5e8; border-color: #e9dcc1; color: #80663e; }
.environment-check-items { display: grid; gap: 10px; list-style: none; padding: 0; margin: 0 0 18px; }
.environment-check-item { min-width: 0; padding: 13px 14px; border: 1px solid #e1e8dd; border-radius: 12px; background: #fffcf6; }
.environment-check-item-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.environment-check-item-heading strong { min-width: 0; color: #3b5c42; font-size: 13px; overflow-wrap: anywhere; }
.environment-check-item-label { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 6px; min-width: 0; }
.environment-check-required { color: #7d8976; font-size: 10px; white-space: nowrap; }
.environment-check-item-status { flex-shrink: 0; padding: 3px 7px; border-radius: 6px; background: #eaf1e4; color: #4a7050; font-size: 11px; }
.environment-check-item[data-status="missing"] .environment-check-item-status, .environment-check-item[data-status="warning"] .environment-check-item-status { background: #f4ead5; color: #876b39; }
.environment-check-item[data-status="disabled"] .environment-check-item-status { background: #eceee7; color: #737e6c; }
.environment-check-item p { margin: 8px 0 0; color: #6b7b65; font-size: 12px; line-height: 1.65; white-space: pre-line; overflow-wrap: anywhere; }
.environment-check-notice { padding: 11px 13px; margin: 0 0 14px; background: #fff8e9; border: 1px solid #e8dac0; border-radius: 11px; color: #806842; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.environment-check-caption { margin: 15px 0; color: #75836f; font-size: 12px; line-height: 1.7; }
.environment-check-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.environment-check-actions button { flex: 1 1 160px; }
@media (max-width: 620px) {
  .topbar .environment-badges { width: 100%; justify-content: flex-start; }
  .topbar [data-environment-open] { padding-inline: 5px; }
  .environment-check-card { padding: 12px; }
  #environment-dialog.modal { width: calc(100% - 24px); max-height: calc(100dvh - 24px); padding: 22px 18px; }
  .environment-check-item { padding: 12px; }
}
