.main-three-part-grid-container .tool-form-oil-price {
    --oil-primary: #3280f8;
    --oil-primary-hover: #4d93f9;
    --oil-primary-deep: #3a6ea5;
    --oil-bg-soft: #f5f8fc;
    --oil-bg-hover: #eef4fd;
    --oil-border-soft: #dce8f8;
    --oil-banner-start: #5b9cf6;
    --oil-banner-end: #3280f8;
    --oil-price-92: #3280f8;
    --oil-price-95: #3a6ea5;
    --oil-price-98: #5b7fd4;
    --oil-price-0: #4a7c9e;
}

.main-three-part-grid-container .tool-form-oil-price .oil-price-desc {
    margin: 0 0 6px;
    color: #666;
    font-size: .875rem;
    line-height: 1.6;
}

.main-three-part-grid-container .tool-form-oil-price .oil-price-meta {
    margin: 0 0 12px;
    color: #888;
    font-size: 13px;
    line-height: 1.5;
}

.main-three-part-grid-container .tool-form-oil-price .update-time {
    color: inherit;
    font-size: inherit;
}

.main-three-part-grid-container .tool-form-oil-price .oil-price-table-card {
    margin-bottom: 0;
    background: transparent;
    box-shadow: none;
}

.main-three-part-grid-container .tool-form-oil-price .table-wrapper {
    overflow: hidden;
    background: #fff;
    box-shadow: none;
}

.main-three-part-grid-container .tool-form-oil-price .price-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: .8125rem;
    background: #fff;
    table-layout: fixed;
}

.main-three-part-grid-container .tool-form-oil-price .price-table thead tr.price-table-banner th {
    padding: .65rem .75rem;
    font-size: .875rem;
    font-weight: 600;
    color: #fff;
    text-align: center;
    border: none;
    background: linear-gradient(90deg, var(--oil-banner-start) 0%, var(--oil-banner-end) 100%);
}

.main-three-part-grid-container .tool-form-oil-price .price-table thead tr.price-table-banner th:first-child {
    padding-left: 1rem;
    text-align: left;
}

.main-three-part-grid-container .tool-form-oil-price .price-table thead tr.price-table-subhead th {
    padding: .5rem .75rem;
    font-size: .8125rem;
    font-weight: 500;
    color: #888;
    text-align: center;
    border: none;
    border-bottom: 1px solid #ececec;
    background: #f7f7f8;
}

.main-three-part-grid-container .tool-form-oil-price .price-table thead tr.price-table-subhead th:first-child {
    padding-left: 1rem;
    text-align: left;
    color: #666;
    font-weight: 500;
}

.main-three-part-grid-container .tool-form-oil-price .price-table thead tr.price-table-subhead th.sortable {
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
    min-height: 44px;
    box-sizing: border-box;
    transition: background 0.2s, color 0.2s;
}

.main-three-part-grid-container .tool-form-oil-price .price-table thead tr.price-table-subhead th.sortable:hover {
    background: var(--oil-bg-hover);
    color: var(--oil-primary-deep);
}

.main-three-part-grid-container .tool-form-oil-price .price-table thead tr.price-table-subhead th[data-sort-col="1"] {
    color: var(--oil-price-92);
}

.main-three-part-grid-container .tool-form-oil-price .price-table thead tr.price-table-subhead th[data-sort-col="2"] {
    color: var(--oil-price-95);
}

.main-three-part-grid-container .tool-form-oil-price .price-table thead tr.price-table-subhead th[data-sort-col="3"] {
    color: var(--oil-price-98);
}

.main-three-part-grid-container .tool-form-oil-price .price-table thead tr.price-table-subhead th[data-sort-col="4"] {
    color: var(--oil-price-0);
}

.main-three-part-grid-container .tool-form-oil-price .price-table .sort-indicator {
    display: inline-block;
    width: 14px;
    margin-left: 4px;
    text-align: center;
    vertical-align: baseline;
}

.main-three-part-grid-container .tool-form-oil-price .price-table .sort-indicator::after {
    display: inline-block;
    font-size: 12px;
    line-height: 1;
    color: #ccc;
    content: "↕";
}

.main-three-part-grid-container .tool-form-oil-price .price-table tbody tr {
    height: 44px;
}

.main-three-part-grid-container .tool-form-oil-price .price-table tbody td {
    min-height: 44px;
    height: 44px;
    padding: .45rem .75rem;
    font-size: .8125rem;
    line-height: 20px;
    text-align: center;
    color: #666;
    border: none;
    border-top: 1px solid #f2f2f2;
    background: #fff;
    transition: background 0.2s;
    box-sizing: border-box;
    vertical-align: middle;
}

.main-three-part-grid-container .tool-form-oil-price .price-table tbody tr:first-child td {
    border-top: none;
}

.main-three-part-grid-container .tool-form-oil-price .price-table tbody tr:hover td {
    background: var(--oil-bg-hover);
}

.main-three-part-grid-container .tool-form-oil-price .price-table tbody td:first-child {
    padding-left: 1rem;
    font-weight: 500;
    text-align: left;
    color: #666;
    border-right: 1px solid #f2f2f2;
}

.main-three-part-grid-container .tool-form-oil-price .price-table tbody td:nth-child(2) {
    color: var(--oil-price-92);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.main-three-part-grid-container .tool-form-oil-price .price-table tbody td:nth-child(3) {
    color: var(--oil-price-95);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.main-three-part-grid-container .tool-form-oil-price .price-table tbody td:nth-child(4) {
    color: var(--oil-price-98);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.main-three-part-grid-container .tool-form-oil-price .price-table tbody td:nth-child(5) {
    color: var(--oil-price-0);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.main-three-part-grid-container .tool-form-oil-price .price-table tbody td.price-low,
.main-three-part-grid-container .tool-form-oil-price .price-table tbody td.price-high {
    font-weight: 700;
}

.main-three-part-grid-container .tool-form-oil-price .price-table th.is-sorted-asc .sort-indicator::after,
.main-three-part-grid-container .tool-form-oil-price .price-table th.is-sorted-desc .sort-indicator::after {
    color: var(--oil-primary);
}

.main-three-part-grid-container .tool-form-oil-price .price-table th.is-sorted-asc .sort-indicator::after {
    content: "↑";
}

.main-three-part-grid-container .tool-form-oil-price .price-table th.is-sorted-desc .sort-indicator::after {
    content: "↓";
}

.main-three-part-grid-container .tool-form-oil-price .oil-price-sync-row td {
    padding: 40px 16px;
    color: #999;
    font-size: .875rem;
    text-align: center;
    border-right: none;
}

@media (max-width: 768px) {
    .main-three-part-grid-container .tool-form-oil-price .table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .main-three-part-grid-container .tool-form-oil-price .price-table {
        min-width: 560px;
    }
}
