html {
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

body {
    margin: 0;
    padding: 12px;
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    background: #fff;
    color: #222;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.35;
}

.etl-app {
    max-width: 920px;
}

h1 {
    margin: 0 0 12px;
    font-size: 18px;
    line-height: 1.2;
}

.etl-search {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 8px;
}

.etl-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.etl-search select,
.etl-search input,
.etl-search button {
    min-height: 34px;
    border: 1px solid #aaa;
    border-radius: 4px;
    font: inherit;
}

.etl-search select {
    min-width: 140px;
    padding: 5px 8px;
    background: #fff;
}

.etl-search input {
    flex: 1 1 280px;
    min-width: 190px;
    padding: 5px 8px;
}

.etl-search button {
    padding: 5px 14px;
    cursor: pointer;
    background: #333;
    color: #fff;
}

.etl-search button:hover,
.etl-search button:focus {
    background: #900;
}

.etl-note {
    margin: 0 0 14px;
    font-size: 11px;
}

.etl-summary,
.etl-empty,
.etl-error {
    margin: 12px 0;
    font-size: 15px;
}

.etl-red,
.etl-empty span {
    color: #c00;
}

.etl-error {
    padding: 10px;
    border: 1px solid #b00020;
    border-radius: 4px;
    background: #fff5f5;
}

.etl-pagination {
    margin: 10px 0;
    font-size: 13px;
}

.etl-pagination a,
.etl-pagination strong {
    display: inline-block;
    margin: 0 3px 4px 0;
    padding: 2px 5px;
    text-decoration: none;
}

.etl-pagination a {
    color: #c00;
}

.etl-current-page {
    color: #c00;
    border-bottom: 2px solid #c00;
}

.etl-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.etl-results {
    width: 100%;
    max-width: 900px;
    border-collapse: collapse;
    font-size: 13px;
}

.etl-results th,
.etl-results td {
    padding: 6px 7px;
    text-align: left;
    vertical-align: top;
    border: 1px solid #888;
}

.etl-results thead th {
    background: #ccc;
}

.etl-main-row td {
    background: #dadada;
}

.etl-detail-row th {
    width: 130px;
    background: #f4f4f4;
}

.etl-info-row td {
    background: #fff;
}

.etl-partno {
    color: #c00;
    white-space: nowrap;
}

.etl-image-link {
    white-space: nowrap;
}

.etl-image-link img {
    margin-right: 4px;
    vertical-align: -1px;
}

.etl-image-link a {
    color: #c00;
    text-decoration: none;
}

.etl-image-link a:hover,
.etl-image-link a:focus {
    color: #900;
    text-decoration: underline;
}

@media (max-width: 620px) {
    body {
        padding: 8px;
    }

    .etl-search {
        display: block;
    }

    .etl-search select,
    .etl-search input,
    .etl-search button {
        display: block;
        width: 100%;
        margin: 0 0 8px;
    }

    .etl-results {
        min-width: 720px;
    }
}
