/* Keep the legacy control available to the existing filter script, but remove it
   from the visible layout and accessibility tree. Its value is fixed to all. */
.tech-controls label:has(> #technology-market) { display: none !important; }
.tech-controls { display: grid; grid-template-columns: minmax(220px, 2fr) minmax(170px, 1fr) minmax(150px, 1fr) !important; gap: 16px; align-items: end; }
.tech-controls label { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; }
.tech-controls input, .tech-controls select { box-sizing: border-box; width: 100%; min-width: 0; height: 52px; margin: 0; }
@media (max-width: 1000px) {
    .tech-controls { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; }
    .tech-controls label:has(> #technology-search) { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    .tech-controls { grid-template-columns: minmax(0, 1fr) !important; gap: 14px; }
    .tech-controls label:has(> #technology-search) { grid-column: auto; }
}

/* The server removes the market label; this layout does not rely on :has(). */
.rn-journal .directory-controls.tech-controls {display:grid;grid-template-columns:minmax(220px,2fr) minmax(170px,1fr) minmax(150px,1fr)!important}
.rn-journal .directory-controls.tech-controls > label:first-child {grid-column:auto!important}
@media(max-width:1000px){.rn-journal .directory-controls.tech-controls {grid-template-columns:repeat(2,minmax(0,1fr))!important}.rn-journal .directory-controls.tech-controls > label:first-child {grid-column:1/-1!important}}
@media(max-width:640px){.rn-journal .directory-controls.tech-controls {grid-template-columns:minmax(0,1fr)!important}.rn-journal .directory-controls.tech-controls > label:first-child {grid-column:auto!important}}
