.form-error-summary { scroll-margin-top: 90px; }
.form-error-summary a { color: inherit; font-weight: 600; text-underline-offset: 3px; }
.form-error-summary:focus { outline: 2px solid #a23138; outline-offset: 3px; }
.search-filters { position: sticky; top: 20px; border: 1px solid #dfe7df; border-radius: 12px; background: #fff; }
.search-filters .filter-panel { position: static; border: 0; }
.search-filters > summary { display: flex; align-items: center; gap: 10px; padding: 16px 20px; font-weight: 700; cursor: pointer; list-style: none; }
.search-filters > summary::-webkit-details-marker { display: none; }
.search-filters > summary > i:last-child { margin-left: auto; transition: transform .15s; }
.search-filters[open] > summary > i:last-child { transform: rotate(180deg); }
.filter-count { padding: 2px 8px; border-radius: 20px; background: #e4f5ed; color: #175440; font-size: 11px; }
.search-results-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; margin-bottom: 20px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.active-filter { display: inline-flex; align-items: center; gap: 9px; max-width: 100%; padding: 7px 11px; border: 1px solid #b6d7c8; border-radius: 20px; background: #edf7f1; color: #175440; text-decoration: none; font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; }
.active-filter:hover { background: #ddefe4; border-color: #175440; color: #175440; }
.active-filter i { flex-shrink: 0; }
.editor-section-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 22px; }
.editor-section-nav a { padding: 8px 12px; border: 1px solid var(--admin-border, #dfe7df); border-radius: 7px; background: var(--admin-panel, #fff); color: var(--admin-ink, #203b3a); text-decoration: none; font-size: 12px; }
.editor-section { scroll-margin-top: 85px; }
.repeat-row > [data-remove-row] { min-width: 38px; min-height: 38px; }
.editor-actions { position: sticky; bottom: 12px; z-index: 30; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 24px; padding: 15px 18px; border: 1px solid var(--admin-border, #dfe7df); border-radius: 12px; background: var(--admin-panel, #fff); box-shadow: 0 8px 30px #1837471f; }
.editor-status { margin: 0; font-size: 12px; color: var(--admin-muted, #526b61); }
.editor-status-dirty { color: var(--admin-ink, #203b3a); font-weight: 650; }
.editor-status-dirty::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #d69d27; }
.editor-actions-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 15px; }
[data-row-status] { scroll-margin-top: 80px; }
@media (min-width: 992px) {
    .search-filters { max-height: calc(100dvh - 40px); overflow-y: auto; scrollbar-gutter: stable; }
    .search-filters > summary { display: none; }
    .search-filters .filter-panel > button { position: sticky; bottom: 0; z-index: 1; box-shadow: 0 -10px 16px #ffffffd9; }
}
@media (max-width: 991px) { .search-filters { position: static; } .search-filters[open] > summary { border-bottom: 1px solid #dfe7df; } }
@media (max-width: 575px) {
    body:not(.admin-body) .container.section { padding-left: 20px; padding-right: 20px; }
    .search-results-heading > span { display: none; }
    .editor-actions { bottom: 8px; gap: 8px; padding: 12px; }
    .editor-actions-controls { width: 100%; gap: 10px; }
    .editor-actions-controls .btn { flex: 1; font-size: 12px; }
    .editor-section-nav a { padding: 8px 10px; }
}
@media (prefers-reduced-motion: reduce) { .search-filters > summary > i:last-child { transition: none; } }
