@media screen {
    .test-shell .results-mode-toolbar {
        display: flex;
        align-items: center;
        gap: 20px;
        margin: 0 10px 8px;
        border-bottom: 1px solid var(--shell-dialog-border);
        overflow-x: auto;
        scrollbar-width: thin;
    }
    html body.test-shell .results-mode-toolbar > .pagemenucontainer {
        flex: 0 0 auto;
        margin: 0;
        max-width: none;
    }
    html body.test-shell .results-mode-toolbar .pagemenu { border-bottom: 0; }
    .test-shell .results-condition {
        display: inline-flex;
        flex: 0 0 auto;
        align-items: center;
        gap: 8px;
        padding: 2px 0;
        color: #95a5b6;
        font: 12px/18px Arial, sans-serif;
        white-space: nowrap;
    }
    .test-shell .results-condition #res_count {
        box-sizing: border-box;
        width: 54px;
        min-width: 54px;
        height: 26px;
        margin: 0;
        padding: 2px 6px;
        border: 1px solid var(--shell-dialog-border);
        border-radius: 4px;
        background: var(--shell-dialog-field-background);
        color: var(--shell-dialog-text);
        font: inherit;
    }
    .test-shell .results-condition-count { color: var(--shell-dialog-text); font-weight: 600; }
    .test-shell .results-condition #res_count:focus-visible {
        outline: 2px solid var(--shell-accent-light);
        outline-offset: 1px;
    }
    .test-shell .results-detail-heading {
        margin: 0 10px 4px;
        padding: 4px 0 8px;
        border-bottom: 1px solid var(--shell-dialog-border);
        font-family: Arial, sans-serif;
    }
    .test-shell .results-detail-heading h2 {
        margin: 0 0 3px;
        color: var(--shell-dialog-text);
        font-size: 15px;
        font-weight: 600;
        line-height: 20px;
        overflow-wrap: anywhere;
    }
    .test-shell .results-event {
        display: flex;
        flex-wrap: wrap;
        gap: 3px 12px;
        color: #95a5b6;
        font-size: 12px;
        line-height: 18px;
        overflow-wrap: anywhere;
    }
    .test-shell .results-event-date { color: var(--shell-accent-light); white-space: nowrap; }
}
