/* GT-IMPORT-COUNTRIES-LAYOUT-1: scoped to the import calculator only. */
[data-gt-calculator="import"] .gr-country-pickers {
    grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr);
    align-items: start;
    gap: 16px;
}
[data-gt-calculator="import"] .gr-country-pickers > div {
    min-width: 0;
}
[data-gt-calculator="import"] .gr-country-pickers .gt-label {
    margin: 0;
    line-height: 1.5;
}
[data-gt-calculator="import"] .gr-country-pickers > span {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    padding-top: calc(1.5em + 10px);
    min-width: 0;
}
[data-gt-calculator="import"] .gr-countries {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 8px;
    margin-top: 10px;
    min-width: 0;
}
[data-gt-calculator="import"] .gr-countries button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 64px;
    height: 100%;
    padding: 10px 6px;
    gap: 6px;
    text-align: center;
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: anywhere;
}
[data-gt-calculator="import"] .gr-countries button img {
    display: block;
    flex: 0 0 auto;
    width: 25px;
    height: 18px;
    max-width: 100%;
    margin: 0;
    object-fit: contain;
}
@media (max-width: 1249px) {
    [data-gt-calculator="import"] .gr-country-pickers {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }
    [data-gt-calculator="import"] .gr-country-pickers > span {
        display: none;
    }
}
