.teu-qa {
    padding: 89px 0 55px;
    background: #F8FAFC;
    color: #1E293B;
    min-height: 70vh;
}

.teu-qa-hero {
    max-width: 720px;
    margin: 0 auto 55px;
    text-align: center;
}

.teu-qa-eyebrow {
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #DC2626;
    font-weight: 700;
    margin: 0 0 13px;
}

.teu-qa-title {
    font-size: 42px;
    line-height: 1.15;
    font-weight: 800;
    margin: 0 0 21px;
    color: #1E293B;
}

.teu-qa-lead {
    font-size: 18px;
    line-height: 1.55;
    color: #475569;
    margin: 0;
}

.teu-qa-h2 {
    font-size: 21px;
    font-weight: 700;
    margin: 0 0 13px;
    color: #1E293B;
}

.teu-qa-h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 21px 0 13px;
    color: #1E293B;
}

.teu-qa-layout {
    display: grid;
    grid-template-columns: 1.618fr 1fr;
    gap: 21px;
    margin-bottom: 21px;
    align-items: start;
}

.teu-qa-card {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 34px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.teu-qa-results {
    margin-bottom: 21px;
}

.teu-qa-coverage {
    border-left: 1px solid #E2E8F0;
}

.teu-qa-coverage-note,
.teu-qa-coverage-sum {
    font-size: 14px;
    color: #64748B;
    margin: 0 0 8px;
}

.teu-qa-coverage-sum {
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 13px;
}

.teu-qa-table-wrap {
    max-height: none;
    overflow: visible;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.teu-qa .te-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
}

.teu-qa-n {
    display: inline-block;
    margin-right: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
    color: #DC2626;
}

.teu-qa-table-wrap-rest {
    margin-top: 13px;
}

.teu-qa-fold summary {
    color: #DC2626;
}

.teu-qa-table {
    width: 100%;
    border-collapse: collapse;
}

.teu-qa-table th,
.teu-qa-table td {
    text-align: left;
    padding: 10px 13px;
    border-bottom: 1px solid #E2E8F0;
    font-size: 13px;
    vertical-align: top;
}

.teu-qa-table th {
    font-size: 11px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #64748B;
    background: #F8FAFC;
    position: sticky;
    top: 0;
}

.teu-qa-table tbody tr:last-child td {
    border-bottom: 0;
}

.teu-qa-cat {
    display: block;
    font-weight: 700;
    color: #1E293B;
}

.teu-qa-unit,
.teu-qa-meta {
    display: block;
    font-size: 12px;
    color: #64748B;
    font-weight: 400;
}

.teu-qa-empty {
    font-size: 14px;
    color: #64748B;
    font-style: italic;
    margin: 0;
}

.teu-qa-fold {
    margin-top: 21px;
}

.teu-qa-fold summary {
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #64748B;
    list-style: none;
}

.teu-qa-fold summary::-webkit-details-marker {
    display: none;
}

.teu-qa-silent {
    list-style: none;
    padding: 13px 0 0;
    margin: 0;
}

.teu-qa-silent li {
    padding: 12px 16px;
    margin-bottom: 8px;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    box-shadow: none;
}

.teu-qa-form-help {
    font-size: 15px;
    color: #475569;
    margin: 0 0 21px;
}

.teu-qa-error {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #991B1B;
    padding: 13px 21px;
    border-radius: 10px;
    margin-bottom: 21px;
    font-size: 14px;
    font-weight: 600;
}

.teu-qa-city {
    max-width: 280px;
    margin-bottom: 21px;
}

.teu-qa-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1E293B;
    margin-bottom: 6px;
}

.teu-qa-input {
    font-size: 14px;
    border-radius: 8px;
    min-height: 44px;
}

.teu-qa-ledger {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.teu-qa-ledger-head,
.teu-qa-ledger-row {
    display: grid;
    grid-template-columns: minmax(140px, 1.35fr) minmax(100px, 0.85fr) 88px minmax(110px, 1.1fr) 40px;
    gap: 8px;
    align-items: start;
}

.teu-qa-ledger-head {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #64748B;
    margin: 0;
    padding: 0 0 0 4px;
}

.teu-qa-ledger-head span:last-child {
    text-align: center;
}

.teu-qa-ledger-row {
    margin: 0;
    padding: 6px 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.teu-qa-cell {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.teu-qa-cell-lab {
    display: none;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: #64748B;
    margin: 0 0 8px;
}

.teu-qa-num {
    min-width: 72px;
    width: 100%;
    text-align: right;
    font-size: 16px;
    font-variant-numeric: tabular-nums;
    padding-right: 10px;
    padding-left: 10px;
}

.teu-qa-row-del {
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: #94A3B8;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-bottom: 0;
}

.teu-qa-row-del:hover,
.teu-qa-row-del:focus {
    background: #FEF2F2;
    color: #DC2626;
}

.teu-qa-row-template {
    display: none !important;
}

.teu-qa-add {
    margin-top: 8px;
    background: #fff;
    color: #DC2626;
    border: 1px solid #DC2626;
    border-radius: 8px;
    padding: 10px 21px;
    font-size: 14px;
    font-weight: 700;
}

.teu-qa-add:hover,
.teu-qa-add:focus {
    background: #DC2626;
    color: #fff;
}

.teu-qa-add:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    background: #fff;
    color: #DC2626;
}

.teu-qa-actions {
    margin-top: 21px;
}

.teu-qa-submit {
    background: #DC2626;
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: 14px 34px;
    font-size: 16px;
    font-weight: 700;
    min-height: 44px;
    cursor: pointer;
}

.teu-qa-submit:hover,
.teu-qa-submit:focus {
    background: #B91C1C;
    color: #fff;
}

.teu-qa-verdicts {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.teu-qa-verdict {
    border-radius: 12px;
    padding: 21px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.teu-qa-verdict-top {
    display: flex;
    justify-content: space-between;
    gap: 13px;
    align-items: baseline;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.teu-qa-verdict-group {
    font-weight: 800;
    font-size: 16px;
}

.teu-qa-verdict-flag {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.teu-qa-verdict-asked,
.teu-qa-verdict-band {
    margin: 0 0 4px;
    font-size: 14px;
    color: #475569;
}

.teu-qa-verdict-high {
    background: #FEF2F2;
    border-color: #FECACA;
}

.teu-qa-verdict-high .teu-qa-verdict-flag {
    color: #b91c1c;
}

.teu-qa-verdict-fair {
    background: #F0FDF4;
    border-color: #BBF7D0;
}

.teu-qa-verdict-fair .teu-qa-verdict-flag {
    color: #15803d;
}

.teu-qa-verdict-low {
    background: #EFF6FF;
    border-color: #BFDBFE;
}

.teu-qa-verdict-low .teu-qa-verdict-flag {
    color: #1d4ed8;
}

.teu-qa-verdict-insufficient,
.teu-qa-verdict-spread,
.teu-qa-verdict-unknown_group,
.teu-qa-verdict-invalid_unit,
.teu-qa-verdict-invalid_price,
.teu-qa-verdict-foreign_currency {
    background: #F1F5F9;
}

.teu-qa-verdict-insufficient .teu-qa-verdict-flag,
.teu-qa-verdict-spread .teu-qa-verdict-flag {
    color: #64748B;
}

.teu-qa-next {
    text-align: center;
    margin: 34px 0 0;
    font-size: 15px;
}

.teu-qa-next a {
    color: #DC2626;
    font-weight: 700;
}

@media (max-width: 900px) {
    .teu-qa-layout {
        grid-template-columns: 1fr;
    }

    .teu-qa-title {
        font-size: 34px;
    }

    .teu-qa-card {
        padding: 21px;
        overflow: hidden;
    }

    .teu-qa-ledger-head {
        display: none;
    }

    .teu-qa-ledger-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 10px 0;
        overflow: hidden;
    }

    .teu-qa-cell-lab {
        display: block;
    }

    .teu-qa-cell-group,
    .teu-qa-cell-unit,
    .teu-qa-cell-item {
        grid-column: 1 / -1;
    }

    .teu-qa-cell-del {
        grid-column: 1 / -1;
        align-items: flex-end;
    }

    .teu-qa-row-del {
        width: 100%;
        height: 44px;
        justify-content: center;
        background: #fff;
        border: 1px solid #E2E8F0;
        border-radius: 8px;
    }

    .teu-qa-num {
        min-width: 0;
        width: 100%;
    }

    .teu-qa-city {
        max-width: none;
    }
}

.teu-qa-intake {
    margin: 0 0 21px;
    padding: 21px;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.teu-qa-intake-note {
    font-size: 13px;
    color: #64748B;
    margin: 0 0 13px;
    line-height: 1.45;
}

.teu-qa-intake-paste-lab {
    margin-top: 13px;
}

.teu-qa-intake-paste {
    min-height: 89px;
    border-radius: 8px;
}

.teu-qa-intake-go {
    margin-top: 13px;
    background: #fff;
    color: #DC2626;
    border: 1px solid #DC2626;
    border-radius: 8px;
    padding: 10px 21px;
    font-size: 14px;
    font-weight: 700;
}

.teu-qa-intake-go:hover,
.teu-qa-intake-go:focus {
    background: #DC2626;
    color: #fff;
}

.teu-qa-intake-warn {
    background: #FFFBEB;
    border: 1px solid #FDE68A;
    color: #92400E;
    padding: 13px 21px;
    border-radius: 10px;
    margin-bottom: 21px;
    font-size: 14px;
}

.teu-qa-intake-warn-link {
    color: #DC2626;
    font-weight: 700;
}

.teu-qa-row-review {
    background: transparent;
}

.teu-qa-pick-hint {
    font-size: 13px;
    line-height: 1.45;
    color: #92400E;
    margin: 8px 0 0;
}

.teu-qa-rejudge {
    margin-top: 13px;
    padding-top: 13px;
    border-top: 1px solid #E2E8F0;
}

.teu-qa-rejudge .teu-qa-label {
    display: block;
    margin-bottom: 8px;
}

.teu-qa-rejudge-btn {
    margin-top: 13px;
    background: #DC2626;
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: 10px 21px;
    font-size: 14px;
    font-weight: 700;
    min-height: 44px;
    cursor: pointer;
}

.teu-qa-rejudge-btn:hover,
.teu-qa-rejudge-btn:focus {
    background: #B91C1C;
    color: #fff;
}
