#results-browse-modes{display:flex;flex-wrap:wrap;gap:6px;margin:24px 0;padding:4px;border:1px solid var(--line,#e9e2ec);border-radius:10px;width:max-content;max-width:100%;background:white}
#results-browse-modes [data-results-browse-mode]{font:inherit;min-width:120px;min-height:46px;border:1px solid transparent;background:white;color:var(--purple,#651583);border-radius:7px;padding:10px 18px;cursor:pointer}
#results-browse-modes [aria-selected=true]{background:var(--purple,#651583);color:white}
#results-browse-modes button:focus-visible{outline:3px solid #b492c2;outline-offset:2px}
#results-by-rider-section{min-width:0;margin:28px 0 36px}
#results-by-rider-form{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;margin:20px 0}
#results-by-rider-form label{display:flex;flex:1 1 320px;min-width:0;flex-direction:column;gap:8px;font-weight:bold}
#results-by-rider-form input{font:inherit;color:var(--ink,#2d2036);width:100%;min-width:0;border:1px solid #d9cfdf;border-radius:7px;background:white;padding:11px 12px;min-height:46px}
#results-by-rider-form input:focus-visible,.by-rider-card>summary:focus-visible{outline:3px solid #b492c2;outline-offset:3px}
#results-by-rider-clear{background:white;color:var(--purple,#651583);border-color:#d9cfdf}
#results-by-rider-state{overflow-wrap:anywhere;margin:20px 0;color:var(--muted,#6d6074)}
#results-by-rider-state[data-state=error]{color:#8c2337}#results-by-rider-state[data-state=warning]{color:#765110}
#results-by-rider-list{display:grid;gap:16px;min-width:0}
.by-rider-card{border:1px solid var(--line,#e9e2ec);border-radius:10px;background:white;min-width:0;overflow-wrap:anywhere}
.by-rider-card>summary{cursor:pointer;min-height:56px;padding:18px 20px;color:var(--purple,#651583)}
.by-rider-card>summary strong{margin-right:18px}.by-rider-card>summary>span{display:inline-block;margin-right:18px;color:var(--muted,#6d6074)}
.by-rider-events{display:grid;gap:20px;min-width:0;padding:0 20px 20px}
.by-rider-events .search-event-result{margin:0}
@media screen{html[data-results-display=phone] #results-browse-modes{width:100%}html[data-results-display=phone] #results-browse-modes button{flex:1 1 0;min-width:0}html[data-results-display=phone] #results-by-rider-form>button{flex:1 1 150px}html[data-results-display=phone] .by-rider-card>summary{padding:16px}html[data-results-display=phone] .by-rider-card>summary>span{display:block;margin-top:6px}html[data-results-display=phone] .by-rider-events{padding:0 12px 12px}}
@media print{#results-browse-modes,#results-by-rider-form,#results-by-rider-state{display:none!important}html[data-results-browse-mode=rider] .results-search-panel,html[data-results-browse-mode=rider] .year-panel,html[data-results-browse-mode=rider] #directory-state,html[data-results-browse-mode=rider] #directory-events-section{display:none!important}html[data-results-browse-mode=event] #results-by-rider-section{display:none!important}.by-rider-card{border:0;border-radius:0}.by-rider-card>summary{list-style:none;padding:12px 0;break-after:avoid}.by-rider-card>summary::-webkit-details-marker{display:none}.by-rider-card>summary strong{color:#111}.by-rider-events{padding:0;gap:20px}#results-by-rider-section{margin:20px 0}.by-rider-card .search-event-result{break-inside:auto}}

@media screen{html[data-results-browse-mode=rider] #directory-state,html[data-results-browse-mode=rider] .results-search-panel{display:none}}
