@media 
only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px)  {
    table, thead, tbody, th, td, tr { display: block; }
    table { border: 0; }
    table caption { font-size: 1.3em; }

    table thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }
    table th { display: none; }
    
    table tr {
        border-bottom: 3px solid #ddd;
        display: block;
        margin-bottom: .625em;
    }
    table td {
        border-bottom: 1px solid #ddd;
        display: block;
        font-size: .8em;
        text-align: right !important;
        max-width: unset !important;
    }
    table td .btn { font-size: 12px; }
    table td::before {
        /*
* aria-label has no advantage, it won't be read inside a table
content: attr(aria-label);
*/
        content: attr(aria-label);
        float: left;
        font-weight: bold;
        text-transform: uppercase;
    }
    table td::after {
        content: "";
        clear: both;
        display: block;
    }
    table td:last-child { border-bottom: 0; }

    #accountHomeGrid .helpText {
        clear: both;
        display: block;
        float: right;
    }
    #accountHomeGrid td.history .popover-title,
    #accountHomeGrid td.history li {
        white-space: normal;
    }
    #accountHomeGrid td .popover-title { font-size: 12px; }
    #accountHomeGrid td .popover { max-width: min(400px, 90%); }
}
