/* v238-m73: three compact optional manual prevention-count selectors. */
#quickAddNewsModal .kff-prevention-counts,
#homeNewsEditor .kff-prevention-counts,
#governorateActivityEditor .kff-prevention-counts,
#homeNewsDetailModal .kff-direct-prevention .kff-prevention-counts {
  grid-column: 1 / -1;
  min-width: 0;
  margin-top: 6px;
  padding: 12px;
  background: rgba(39, 92, 132, .12);
  border: 1px solid rgba(126, 170, 206, .28);
  border-radius: 13px;
}
.kff-prevention-counts-heading {
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 800;
  color: #f7e3b1;
}
.kff-prevention-counts-heading small {
  font-size: 11px;
  font-weight: 500;
  color: #bacbd9;
}
.kff-prevention-counts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  direction: rtl;
}
.kff-prevention-count-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.kff-prevention-count-field > span {
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  color: #ebf5fc;
  line-height: 1.5;
  white-space: normal;
}
#quickAddNewsModal .kff-prevention-count-field select,
#homeNewsEditor .kff-prevention-count-field select,
#governorateActivityEditor .kff-prevention-count-field select,
#homeNewsDetailModal .kff-direct-prevention .kff-prevention-count-field select {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  min-height: 40px !important;
  height: 40px !important;
  padding: 4px 7px !important;
  border: 1px solid rgba(142, 188, 214, .55) !important;
  border-radius: 9px !important;
  background: #123553 !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-align: center !important;
  text-align-last: center;
  appearance: auto !important;
  -webkit-appearance: menulist !important;
}
.kff-prevention-counts-hint {
  font-size: 11px;
  line-height: 1.55;
  margin: 8px 0 0;
  color: #b8cddd;
}
@media (max-width: 390px) {
  .kff-prevention-counts-grid { gap: 5px; }
  .kff-prevention-count-field > span { font-size: 11px; }
  #quickAddNewsModal .kff-prevention-count-field select,
  #homeNewsEditor .kff-prevention-count-field select,
  #governorateActivityEditor .kff-prevention-count-field select,
  #homeNewsDetailModal .kff-direct-prevention .kff-prevention-count-field select { padding: 3px 2px !important; font-size: 12px !important; }
}
