/* ============================================================
   MOD-174-09 · Filter / selected-edit separation and responsive
   state feedback layered on the MOD-174-07 grid
============================================================ */

.mod17409-filter-panel {
  border-top: 4px solid #2563eb;
}

.mod17409-section-head {
  align-items: center;
  display: flex;
  gap: 18px;
  grid-column: 1 / -1;
  justify-content: space-between;
  width: 100%;
}

.mod17409-section-head h2 {
  color: #123764;
  font-size: 1rem;
  font-weight: 850;
  margin: 2px 0 3px;
}

.mod17409-section-head span {
  color: #2563eb;
  display: block;
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.mod17409-section-head p {
  color: #687991;
  font-size: .74rem;
  margin: 0;
}

.mod17409-pending {
  background: #fff7dc;
  border: 1px solid #f1d16a;
  border-radius: 999px;
  color: #76580c !important;
  flex: 0 0 auto;
  font-weight: 800;
  padding: 7px 11px;
}

.mod17409-applied {
  align-items: center;
  border-top: 1px dashed #d6e2f1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  grid-column: 1 / -1;
  padding-top: 10px;
}

.mod17409-applied > strong,
.mod17409-applied > span {
  color: #63738b;
  font-size: .72rem;
}

.mod17409-applied button {
  background: #eaf3ff;
  border: 1px solid #bbd4f8;
  border-radius: 999px;
  color: #164b94;
  font-size: .7rem;
  font-weight: 750;
  padding: 5px 8px 5px 10px;
}

.mod17409-applied button:hover { background: #dcecff; border-color: #78a7e8; }
.mod17409-filter-panel select:disabled { background-color: #f0f3f7; color: #8b96a7; }

.mod17409-page .mod17407-bulk {
  align-items: end;
  background: #f8fbff;
  border-color: #a9c7ec;
  border-left: 4px solid #0f8a82;
  padding: 14px 16px;
}

.mod17409-page .mod17407-bulk .mod17409-section-head {
  align-self: stretch;
  flex: 1 0 100%;
  margin-bottom: 4px;
}

.mod17409-page .mod17407-bulk .mod17409-section-head span { color: #08766f; }
.mod17409-page .mod17407-bulk .mod17409-section-head h2 { color: #17544f; }

.mod17409-selected {
  align-items: center;
  align-self: stretch;
  background: #e4f7f4;
  border: 1px solid #a7ddd7;
  border-radius: 10px;
  display: flex;
  min-height: 38px;
  padding: 7px 12px;
}

.mod17409-bulk-field {
  color: #53657c;
  display: grid;
  font-size: .7rem;
  font-weight: 800;
  gap: 4px;
}

.mod17409-bulk-help {
  color: #5f7088;
  flex: 1 1 260px;
  font-size: .72rem;
  margin: 0;
}

.mod17409-export-actions {
  display: flex;
  flex: 1 0 100%;
  gap: 8px;
  justify-content: flex-end;
  padding-top: 4px;
}

.mod17409-page .mod17407-bulk [data-export-filtered] { margin-left: 0; }
.mod17409-page [data-bulk-action]:disabled { cursor: not-allowed; opacity: .65; }
.mod17409-page .mod17407-empty strong { color: #40536d; }

@media (max-width: 767px) {
  .mod17409-section-head { align-items: flex-start; flex-direction: column; gap: 8px; }
  .mod17409-pending { border-radius: 9px; width: 100%; }
  .mod17409-page .mod17407-bulk > .mod17409-section-head,
  .mod17409-page .mod17407-bulk > .mod17409-bulk-help,
  .mod17409-page .mod17407-bulk > .mod17409-export-actions { flex-basis: 100%; }
  .mod17409-page .mod17407-bulk > .mod17409-bulk-field { flex: 1 1 calc(60% - 8px); }
  .mod17409-page .mod17407-bulk > .mod17409-selected { flex: 1 1 calc(40% - 8px); }
  .mod17409-export-actions > * { flex: 1 1 50%; }
}

@media (max-width: 479px) {
  .mod17409-page .mod17407-toolbar { grid-template-columns: 1fr; }
  .mod17409-page .mod17407-toolbar > * { grid-column: 1; }
  .mod17409-page .mod17407-date-filters > div { grid-template-columns: 1fr; }
  .mod17409-page .mod17407-toolbar-actions { flex-direction: column; }
  .mod17409-page .mod17407-toolbar-actions > * { width: 100%; }
  .mod17409-page .mod17407-bulk > * { flex-basis: 100%; }
  .mod17409-export-actions { flex-direction: column; }
  .mod17409-export-actions > * { width: 100%; }
}
