/* СКГА Портфолио 5.3.9.58.28 — exclusively visual, scoped user filters. */
#p5823Filters.p5823-filters {
  grid-template-columns:repeat(4,minmax(0,1fr)) auto;
  gap:10px;
  padding:12px 14px;
  margin:12px 0 16px;
  align-items:end;
  box-sizing:border-box;
}
#p5823Filters.p5823-filters label {
  min-width:0;
  gap:5px;
  line-height:1.35;
  font-size:12px;
}
#p5823Filters.p5823-filters select {
  width:100%; min-width:0; height:40px; min-height:40px;
  line-height:1.35; font-size:13px;
}
#p5823Filters.p5823-filters .p5823-reset {
  width:auto !important; max-width:none; min-width:138px;
  height:40px; min-height:40px;
  padding:8px 13px;
  white-space:nowrap;
}
/* Dark theme uses explicit colors to bypass light-only --card overrides. */
html[data-theme="dark"] #p5823Filters.p5823-filters {
  color:#eff3f8 !important;
  background:#20242a !important;
  border:1px solid #3b424c !important;
  box-shadow:0 2px 12px rgba(0,0,0,.11);
}
html[data-theme="dark"] #p5823Filters.p5823-filters label,
html[data-theme="dark"] #p5823Filters.p5823-filters label > span {
  color:#e6edf6 !important;
  -webkit-text-fill-color:#e6edf6 !important;
  opacity:1 !important;
}
html[data-theme="dark"] #p5823Filters.p5823-filters select {
  background-color:#13161b !important;
  color:#f7f9fc !important;
  -webkit-text-fill-color:#f7f9fc !important;
  border:1px solid #434b56 !important;
  color-scheme:dark;
}
html[data-theme="dark"] #p5823Filters.p5823-filters select option {
  background:#181c22; color:#f7f9fc;
}
html[data-theme="dark"] #p5823Filters.p5823-filters .p5823-reset {
  color:#f7f9fc !important;
  -webkit-text-fill-color:#f7f9fc !important;
  background:#2b313a !important;
  border-color:#4a5360 !important;
}
html[data-theme="dark"] #p5823Filters.p5823-filters .p5823-reset:hover {background:#353d49 !important;}
html[data-theme="dark"] #p5823Filters.p5823-filters select:focus-visible,
html[data-theme="dark"] #p5823Filters.p5823-filters button:focus-visible {
  outline:2px solid #dc8b86; outline-offset:2px;
}
/* Prevent awkward email wrapping on desktop; keep horizontal scrolling on narrow screens. */
@media (min-width:1200px) {
  .p5823-wrap .p5823-table td:nth-child(2) {
    overflow-wrap:normal; word-break:normal; white-space:nowrap;
    max-width:300px; overflow:hidden; text-overflow:ellipsis;
  }
}
@media (max-width:1200px) {
  #p5823Filters.p5823-filters {grid-template-columns:repeat(2,minmax(0,1fr));}
  #p5823Filters.p5823-filters .p5823-reset {grid-column:1/-1;}
}
@media (max-width:580px) {
  #p5823Filters.p5823-filters {grid-template-columns:1fr;gap:10px;padding:12px;}
  #p5823Filters.p5823-filters .p5823-reset {grid-column:1;justify-self:stretch;width:100% !important;}
}
