.tst-oem-final {
    background: #fff;
    border-bottom: 1px solid #e4e9ef;
    padding: 58px 0 64px;
}

.tst-oem-final-container {
    width: calc(100% - 40px);
    max-width: 1100px;
    margin: 0 auto;
}

.tst-oem-final-head {
    margin-bottom: 24px;
}

.tst-oem-final-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 8px;
    color: #cf1230;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
}

.tst-oem-final-eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #cf1230;
}

.tst-oem-final-head h2 {
    max-width: 900px;
    margin: 0;
    color: #111827;
    font-size: clamp(30px, 3.4vw, 46px);
    line-height: 1.08;
    letter-spacing: -.04em;
}

.tst-oem-final-head p {
    max-width: 760px;
    margin: 12px 0 0;
    color: #69768a;
    line-height: 1.6;
}

.tst-oem-final-filters {
    display: grid;
    grid-template-columns:
        minmax(250px, 1.7fr)
        repeat(4, minmax(120px, .85fr))
        auto;
    gap: 8px;
    margin-bottom: 15px;
}

.tst-oem-final-filters input,
.tst-oem-final-filters select {
    width: 100%;
    height: 46px;
    border: 1px solid #d8e0e8;
    border-radius: 4px;
    background: #fff;
    color: #172033;
    padding: 0 12px;
    outline: none;
    font: inherit;
    font-size: 13px;
}

.tst-oem-final-filters input:focus,
.tst-oem-final-filters select:focus {
    border-color: #cf1230;
    box-shadow: 0 0 0 3px rgba(207,18,48,.08);
}

#tstOemReset {
    height: 46px;
    border: 1px solid #cf1230;
    border-radius: 4px;
    background: #fff;
    color: #cf1230;
    padding: 0 16px;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
}

#tstOemReset:hover {
    background: #fff5f6;
}

.tst-oem-final-exports {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 17px;
}

.tst-oem-export-card {
    display: grid;
    grid-template-columns: 58px 1fr auto;
    align-items: center;
    gap: 12px;
    min-height: 74px;
    border: 1px solid #dce3eb;
    border-radius: 8px;
    background: #fff;
    padding: 10px 14px;
    color: #172033;
    text-align: left;
    cursor: pointer;
}

.tst-oem-export-card:hover {
    border-color: #cf1230;
    box-shadow: 0 7px 22px rgba(17,24,39,.07);
}

.tst-oem-export-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 44px;
    border-radius: 7px;
    background: #eb1734;
    color: #fff;
    font-size: 10px;
    font-weight: 900;
}

.tst-oem-export-card strong {
    display: block;
    color: #172033;
    font-size: 13px;
}

.tst-oem-export-card small {
    display: block;
    margin-top: 4px;
    color: #8995a5;
    font-size: 11px;
}

.tst-oem-export-card b {
    color: #cf1230;
    font-size: 18px;
}

.tst-oem-final-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin: 10px 0;
    color: #718095;
    font-size: 12px;
}

.tst-oem-final-meta strong {
    color: #273244;
}

.tst-oem-final-table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #dce3eb;
    border-radius: 5px;
    background: #fff;
}

.tst-oem-final-table {
    width: 100%;
    min-width: 880px;
    border-collapse: collapse;
    table-layout: fixed;
}

.tst-oem-final-table th {
    background: #f5f7fa;
    color: #cf1230;
    border-bottom: 1px solid #dce3eb;
    padding: 13px 12px;
    text-align: left;
    font-size: 12px;
    font-weight: 850;
}

.tst-oem-final-table td {
    border-bottom: 1px solid #e9edf2;
    padding: 13px 12px;
    color: #273244;
    font-size: 13px;
    line-height: 1.42;
    vertical-align: top;
}

.tst-oem-final-table tbody tr:hover td {
    background: #fbfcfd;
}

.tst-oem-final-table th:nth-child(1),
.tst-oem-final-table td:nth-child(1) {
    width: 130px;
}

.tst-oem-final-table th:nth-child(2),
.tst-oem-final-table td:nth-child(2) {
    width: 285px;
}

.tst-oem-final-table th:nth-child(3),
.tst-oem-final-table td:nth-child(3) {
    width: 90px;
}

.tst-oem-final-table th:nth-child(4),
.tst-oem-final-table td:nth-child(4) {
    width: 120px;
}

.tst-oem-final-table th:nth-child(5),
.tst-oem-final-table td:nth-child(5) {
    width: 90px;
}

.tst-oem-code {
    color: #111827 !important;
    font-weight: 800;
    white-space: pre-line;
}

.tst-oem-ref {
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.tst-oem-empty {
    padding: 38px 20px !important;
    color: #78869a !important;
    text-align: center !important;
}

.tst-oem-final-pager {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 15px;
    color: #69768a;
    font-size: 12px;
}

.tst-oem-final-pager button {
    height: 38px;
    border: 1px solid #d8e0e8;
    border-radius: 6px;
    background: #fff;
    color: #202c3b;
    padding: 0 14px;
    font-weight: 700;
    cursor: pointer;
}

.tst-oem-final-pager button:hover:not(:disabled) {
    border-color: #cf1230;
    color: #cf1230;
}

.tst-oem-final-pager button:disabled {
    opacity: .4;
    cursor: default;
}

@media (max-width: 1100px) {
    .tst-oem-final-container {
        width: calc(100% - 48px);
        max-width: none;
    }

    .tst-oem-final-filters {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .tst-oem-final-filters input {
        grid-column: span 2;
    }
}

@media (max-width: 760px) {
    .tst-oem-final {
        padding: 42px 0 48px;
    }

    .tst-oem-final-container {
        width: calc(100% - 32px);
    }

    .tst-oem-final-head h2 {
        font-size: 30px;
    }

    .tst-oem-final-filters {
        grid-template-columns: 1fr;
    }

    .tst-oem-final-filters input {
        grid-column: auto;
    }

    .tst-oem-final-exports {
        grid-template-columns: 1fr;
    }

    .tst-oem-final-pager {
        justify-content: space-between;
    }
}


/* ==========================================================
   TST OEM 20 RECORD FIXED PAGER V5
   ========================================================== */

/* Önceki / sayfa / sonraki alanı sabit ölçüde */
.tst-oem-final-pager{
    width:290px !important;
    min-width:290px !important;

    margin:
        15px 0
        0 auto !important;

    display:grid !important;

    grid-template-columns:
        105px
        60px
        105px !important;

    align-items:center !important;
    justify-content:end !important;

    gap:10px !important;
}

/* Her iki buton aynı boyutta */
.tst-oem-final-pager button{
    width:105px !important;
    min-width:105px !important;
    max-width:105px !important;

    height:38px !important;

    padding:0 8px !important;

    white-space:nowrap !important;
}

/* 1 / 75 - 10 / 75 olunca kaymasın */
#tstOemPage{
    width:60px !important;
    min-width:60px !important;

    display:flex !important;
    align-items:center !important;
    justify-content:center !important;

    text-align:center !important;

    font-variant-numeric:
        tabular-nums !important;
}

/* 1-20 / 3733 alanı da sabit */
#tstOemRange{
    min-width:135px !important;

    text-align:right !important;

    font-variant-numeric:
        tabular-nums !important;
}

/* Mobil */
@media(max-width:760px){

    .tst-oem-final-pager{
        width:100% !important;
        min-width:0 !important;

        grid-template-columns:
            minmax(90px,1fr)
            60px
            minmax(90px,1fr)
            !important;
    }

    .tst-oem-final-pager button{
        width:100% !important;
        min-width:0 !important;
        max-width:none !important;
    }
}

/* ==========================================================
   TST OEM 20 RECORD FIXED PAGER V5 END
   ========================================================== */

/* TST_OEM_STATIC2026_STYLE_START */
/* TST OEM STATIC 2026 - fixed pagination and stable 20-row table */
.tst-oem-final-table{min-width:1040px!important;table-layout:fixed!important}
.tst-oem-final-table th:nth-child(1),.tst-oem-final-table td:nth-child(1){width:125px!important}
.tst-oem-final-table th:nth-child(2),.tst-oem-final-table td:nth-child(2){width:270px!important}
.tst-oem-final-table th:nth-child(3),.tst-oem-final-table td:nth-child(3){width:85px!important}
.tst-oem-final-table th:nth-child(4),.tst-oem-final-table td:nth-child(4){width:135px!important}
.tst-oem-final-table th:nth-child(5),.tst-oem-final-table td:nth-child(5){width:95px!important}
.tst-oem-final-table th:nth-child(6),.tst-oem-final-table td:nth-child(6){width:85px!important}
.tst-oem-final-table th:nth-child(7),.tst-oem-final-table td:nth-child(7){width:245px!important}
.tst-oem-final-table tbody tr:not(.tst-oem-filler){height:50px!important}
.tst-oem-final-table tbody tr:not(.tst-oem-filler) td{height:50px!important;max-height:50px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;vertical-align:middle!important}
.tst-oem-final-table .tst-oem-code{white-space:nowrap!important}
.tst-oem-final-table .tst-oem-ref{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.tst-oem-filler{height:50px!important}
.tst-oem-filler td{height:50px!important;padding:0!important;border-bottom:1px solid #f3f5f7!important;background:#fff!important}
.tst-oem-final-pager{width:300px!important;min-width:300px!important;margin:15px 0 0 auto!important;display:grid!important;grid-template-columns:110px 60px 110px!important;align-items:center!important;gap:10px!important}
.tst-oem-final-pager button{width:110px!important;min-width:110px!important;height:38px!important;padding:0 8px!important;white-space:nowrap!important}
#tstOemPage{width:60px!important;min-width:60px!important;text-align:center!important;font-variant-numeric:tabular-nums!important}
#tstOemRange{min-width:145px!important;text-align:right!important;font-variant-numeric:tabular-nums!important}
@media(max-width:760px){.tst-oem-final-pager{width:100%!important;min-width:0!important;grid-template-columns:minmax(90px,1fr) 60px minmax(90px,1fr)!important}.tst-oem-final-pager button{width:100%!important;min-width:0!important}}
/* TST_OEM_STATIC2026_STYLE_END */

/* TST_OEM_ADMIN_MANAGER_STYLE_START */
/* TST OEM manager + long reference viewer */
.tst-oem-final-table{min-width:1040px!important;table-layout:fixed!important}
.tst-oem-final-table th:nth-child(1),.tst-oem-final-table td:nth-child(1){width:125px!important}
.tst-oem-final-table th:nth-child(2),.tst-oem-final-table td:nth-child(2){width:270px!important}
.tst-oem-final-table th:nth-child(3),.tst-oem-final-table td:nth-child(3){width:85px!important}
.tst-oem-final-table th:nth-child(4),.tst-oem-final-table td:nth-child(4){width:135px!important}
.tst-oem-final-table th:nth-child(5),.tst-oem-final-table td:nth-child(5){width:95px!important}
.tst-oem-final-table th:nth-child(6),.tst-oem-final-table td:nth-child(6){width:85px!important}
.tst-oem-final-table th:nth-child(7),.tst-oem-final-table td:nth-child(7){width:245px!important}
.tst-oem-final-table tbody tr:not(.tst-oem-filler){height:50px!important}
.tst-oem-final-table tbody tr:not(.tst-oem-filler) td{height:50px!important;max-height:50px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;vertical-align:middle!important}
.tst-oem-final-table .tst-oem-code{white-space:nowrap!important}
.tst-oem-filler{height:50px!important}
.tst-oem-filler td{height:50px!important;padding:0!important;border-bottom:1px solid #f3f5f7!important;background:#fff!important}
.tst-oem-final-pager{width:300px!important;min-width:300px!important;margin:15px 0 0 auto!important;display:grid!important;grid-template-columns:110px 60px 110px!important;align-items:center!important;gap:10px!important}
.tst-oem-final-pager button{width:110px!important;min-width:110px!important;height:38px!important;padding:0 8px!important;white-space:nowrap!important}
#tstOemPage{width:60px!important;min-width:60px!important;text-align:center!important;font-variant-numeric:tabular-nums!important}
#tstOemRange{min-width:145px!important;text-align:right!important;font-variant-numeric:tabular-nums!important}

.tst-oem-ref{padding:0!important}
.tst-oem-ref-open{width:100%;height:50px;border:0;background:transparent;padding:0 12px;display:flex;align-items:center;gap:8px;cursor:pointer;color:inherit;text-align:left;font:inherit}
.tst-oem-ref-open span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}
.tst-oem-ref-open b{flex:0 0 auto;color:#d50d2d;font-size:12px}
.tst-oem-ref-open:hover{background:#fff7f8}

.tst-oem-detail-modal[hidden]{display:none!important}
.tst-oem-detail-modal{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;padding:20px}
.tst-oem-detail-backdrop{position:absolute;inset:0;border:0;background:rgba(15,23,42,.45);cursor:default}
.tst-oem-detail-card{position:relative;width:min(620px,calc(100vw - 32px));background:#fff;border:1px solid #e2e8f0;border-radius:16px;box-shadow:0 24px 70px rgba(15,23,42,.25);padding:18px;z-index:1}
.tst-oem-detail-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.tst-oem-detail-head strong{font-size:16px;color:#111827}
.tst-oem-detail-head button{width:32px;height:32px;border:1px solid #e2e8f0;background:#f8fafc;border-radius:50%;font-size:20px;cursor:pointer;color:#475569}
.tst-oem-detail-value{padding:14px;border:1px solid #e2e8f0;background:#f8fafc;border-radius:10px;overflow-wrap:anywhere;word-break:break-word;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;line-height:1.65;color:#0f172a;max-height:45vh;overflow:auto}
.tst-oem-copy{margin-top:12px;height:40px;padding:0 18px;border:0;border-radius:9px;background:#d50d2d;color:#fff;font-weight:800;cursor:pointer}
.tst-oem-modal-open{overflow:hidden}

@media(max-width:760px){
 .tst-oem-final-pager{width:100%!important;min-width:0!important;grid-template-columns:minmax(90px,1fr) 60px minmax(90px,1fr)!important}
 .tst-oem-final-pager button{width:100%!important;min-width:0!important}
}
/* TST_OEM_ADMIN_MANAGER_STYLE_END */
