.uinti-tg {
    max-width: 920px;
    margin: 2rem auto;
    padding: 1.5rem;
    border: 1px solid #d7e6f5;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 57, 107, 0.06);
}

.uinti-tg__title {
    margin-top: 0;
    margin-bottom: 0.35rem;
    color: #0b4f8a;
    font-weight: 800;
}

.uinti-tg__intro {
    margin-top: 0;
    color: #5c6f82;
}

.uinti-tg__controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    align-items: end;
    margin-top: 1.25rem;
}

.uinti-tg__field,
.uinti-tg__checkbox {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-weight: 700;
    color: #123a5a;
}

.uinti-tg__checkbox {
    flex-direction: row;
    align-items: center;
    padding: 0.75rem 0;
}

.uinti-tg__field select {
    width: 100%;
    min-height: 44px;
    padding: 0.55rem 0.75rem;
    border: 1px solid #b8cde0;
    border-radius: 10px;
    background: #ffffff;
}

.uinti-tg__button,
.uinti-tg__replace {
    cursor: pointer;
    border: 0;
    border-radius: 999px;
    background: #0b67ad;
    color: #ffffff;
    font-weight: 800;
    padding: 0.8rem 1.15rem;
    transition: transform 0.08s ease, opacity 0.12s ease;
}

.uinti-tg__button:hover,
.uinti-tg__replace:hover {
    transform: translateY(-1px);
}

.uinti-tg__button:disabled,
.uinti-tg__replace:disabled {
    cursor: not-allowed;
    opacity: 0.65;
    transform: none;
}

.uinti-tg__message {
    margin-top: 1rem;
    font-weight: 700;
}

.uinti-tg__message--info {
    color: #0b4f8a;
}

.uinti-tg__message--error {
    color: #a42a2a;
}

.uinti-tg__summary {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 14px;
    background: #eef7ff;
    color: #123a5a;
}

.uinti-tg__summary-label {
    display: block;
    font-size: 0.9rem;
    color: #5c6f82;
}

.uinti-tg__summary strong {
    display: block;
    margin-top: 0.2rem;
    font-size: 1.7rem;
    color: #0b4f8a;
}

.uinti-tg__warnings {
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    background: #fff7e6;
    color: #745100;
}

.uinti-tg__warnings p {
    margin: 0.25rem 0;
}

.uinti-tg__sections {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.uinti-tg__section {
    padding: 1.1rem;
    border: 1px solid #d7e6f5;
    border-radius: 16px;
    background: #fbfdff;
}

.uinti-tg__section-top {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
}

.uinti-tg__section-label {
    margin-bottom: 0.25rem;
    color: #0b67ad;
    font-size: 0.88rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.uinti-tg__section h3 {
    margin: 0;
    color: #123a5a;
    font-size: 1.2rem;
}

.uinti-tg__distance {
    white-space: nowrap;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: #e7f3fc;
    color: #0b4f8a;
    font-weight: 800;
}

.uinti-tg__section-content {
    margin-top: 0.85rem;
    color: #2e3f4f;
}

.uinti-tg__section-content p {
    margin-top: 0.35rem;
    margin-bottom: 0.35rem;
}

.uinti-tg__replace {
    margin-top: 0.9rem;
    background: #14527d;
    padding: 0.65rem 0.95rem;
    font-size: 0.95rem;
}

@media (max-width: 720px) {
    .uinti-tg {
        padding: 1rem;
    }

    .uinti-tg__controls {
        grid-template-columns: 1fr;
    }

    .uinti-tg__section-top {
        flex-direction: column;
    }
}
