.converter {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 132px minmax(0, 1fr);
    column-gap: 24px;
    align-items: start;
    padding-bottom: 72px;
}

.converter-input,
.converter-output {
    min-width: 0;
}

.converter-actions {
    display: flex;
    min-height: 390px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 46px 0 0;
}

.svg-preview {
    margin: 22px 0 0;
}

.svg-preview figcaption {
    margin-bottom: 10px;
    color: var(--text-secondary);
    font-size: .8rem;
    font-weight: 680;
}

.svg-preview-canvas {
    display: grid;
    height: 180px;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    background: #fff;
    padding: 20px;
}

.svg-preview-render {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    color: #111827;
}

.svg-preview-render[hidden] {
    display: none;
}

.svg-preview-message {
    color: #667085;
    font-size: .8rem;
    text-align: center;
}

.svg-preview-message.is-error {
    color: #b42318;
}

.svg-preview-size {
    margin: 8px 0 0;
    color: var(--text-secondary);
    font-size: .75rem;
    font-variant-numeric: tabular-nums;
    text-align: right;
}

@media (max-width: 860px) {
    .converter {
        width: min(100% - 32px, 680px);
        grid-template-columns: 1fr;
        column-gap: 0;
    }

    .converter-actions {
        min-height: auto;
        align-items: stretch;
        padding: 18px 0 28px;
    }

    .svg-preview-canvas {
        height: 160px;
    }
}
