body.runner-ui .board-filter-toolbar{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:16px 0 24px}
body.runner-ui .board-filter-toolbar .level-picker{flex:1;margin:0}
body.runner-ui .filter-trigger{display:inline-flex;gap:10px;align-items:center;white-space:nowrap}
body.runner-ui .filter-trigger svg{width:19px;height:19px}
body.runner-ui .filter-active{background:var(--accent);color:#fff;padding:2px 6px;font-size:10px}
body.runner-ui .board-filter-dialog{padding:0;width:min(880px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 40px);overflow:auto;border:1px solid var(--line);border-top:4px solid var(--accent);background:#fff;color:var(--ink);box-shadow:0 24px 90px #0006}
body.runner-ui .board-filter-dialog::backdrop{background:rgba(8,16,24,.66);backdrop-filter:blur(3px)}
body.runner-ui .filter-header{display:flex;align-items:center;justify-content:space-between;padding:20px 26px;border-bottom:1px solid var(--line)}
body.runner-ui .filter-header h2{font-size:24px;margin:0;color:inherit}
body.runner-ui .filter-header button{padding:4px 12px;font-size:26px;background:transparent;color:var(--muted);border:0;box-shadow:none}
body.runner-ui .filter-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:30px 26px;padding:26px}
body.runner-ui .filter-group{margin:0;padding:0;min-width:0;border:0}
body.runner-ui .filter-group legend{margin-bottom:12px;font-size:16px;font-weight:750;color:inherit}
body.runner-ui .filter-group small{display:block;color:var(--muted);font-size:11px;margin-top:9px}
body.runner-ui .filter-options>div{display:flex;gap:6px;flex-wrap:wrap}
body.runner-ui .filter-options label{position:relative;display:flex;padding:9px 12px;background:var(--soft);border:1px solid var(--line);font-size:13px;font-weight:650;cursor:pointer;color:var(--ink)}
body.runner-ui .filter-options label:has(input:checked){background:var(--accent);border-color:var(--accent);color:#fff}
body.runner-ui .filter-options label:focus-within{outline:2px solid var(--accent);outline-offset:3px}
body.runner-ui .filter-options input{position:absolute;opacity:0;width:1px;height:1px;margin:0;padding:0}
body.runner-ui .filter-date-parts{display:flex;align-items:center;gap:5px;margin-top:14px;font-size:12px;flex-wrap:wrap}
body.runner-ui .filter-date-parts input[name]{width:39px;padding:8px 4px;text-align:center;font:14px ui-monospace,monospace;min-width:0}
body.runner-ui .filter-date-parts input[name$='_0']{width:59px}
body.runner-ui .filter-calendar{position:relative;display:inline-flex;border:1px solid var(--line);padding:8px;background:var(--soft);cursor:pointer;overflow:hidden}
body.runner-ui .filter-calendar input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer;padding:0;border:0;min-width:0}
body.runner-ui .filter-calendar input::-webkit-calendar-picker-indicator{position:absolute;inset:0;width:100%;height:100%;cursor:pointer}
body.runner-ui .filter-footer{display:flex;justify-content:flex-end;gap:12px;padding:20px 26px;border-top:1px solid var(--line);background:var(--soft)}
body.runner-ui .filter-date-note{margin:0;padding:0 26px 22px;font-size:12px;color:var(--muted)}
body.runner-ui .filter-errors{margin:20px 26px;padding:14px;border-left:3px solid var(--accent);background:var(--soft)}
body.runner-ui .run-obsolete{font-size:11px;color:var(--muted)}
body.runner-ui .overview-obsolete summary{cursor:pointer;color:var(--muted);font-size:13px}
body.runner-ui .overview-obsolete .overview-result{display:inline-flex;gap:12px;margin:12px 18px 0 0;align-items:center}
html[data-theme=dark] body.runner-ui .board-filter-dialog{background:#211d2a;color:var(--ink)}
@media(max-width:620px){body.runner-ui .filter-grid{grid-template-columns:minmax(0,1fr);gap:24px;padding:20px}body.runner-ui .filter-header,body.runner-ui .filter-footer{padding:16px 20px}body.runner-ui .filter-footer .button{font-size:12px;padding:10px}body.runner-ui .board-filter-dialog{max-height:calc(100dvh - 24px)}}
html[data-theme=dark] body.runner-ui .filter-options label:has(input:checked){color:#211d2a}
html[data-theme] body.runner-ui .board-filter-dialog .filter-date-parts input[name]{width:46px;box-sizing:border-box;padding:8px 4px;font:14px ui-monospace,monospace;text-align:center}
html[data-theme] body.runner-ui .board-filter-dialog .filter-date-parts input[name$='_0']{width:66px}
body.runner-ui .filter-header{position:sticky;top:0;z-index:2;background:var(--paper)}
body.runner-ui .filter-footer{position:sticky;bottom:0;z-index:2}
