.json-stream-source {
    align-self: stretch;
    width: 100%;
    padding: clamp(18px, 3vw, 32px);
    color: var(--text, #d7f5dd);
    background:
        linear-gradient(135deg, rgba(94, 255, 134, 0.06), transparent 58%),
        rgba(0, 12, 7, 0.78);
}

.json-stream-source[hidden] {
    display: none;
}

.json-stream-source h3 {
    margin: 6px 0 8px;
    overflow-wrap: anywhere;
    font-family: var(--display-font, "Chakra Petch", sans-serif);
    font-size: clamp(1rem, 2vw, 1.35rem);
    color: var(--green, #5eff86);
}

.json-stream-source p {
    max-width: 68ch;
    margin: 8px 0;
    font-size: 0.78rem;
    line-height: 1.65;
}

.json-stream-source progress {
    display: block;
    width: min(100%, 720px);
    height: 10px;
    margin: 14px 0;
    accent-color: var(--green, #5eff86);
}

.json-stream-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.json-viewer-page .input-zone.is-streaming {
    align-items: stretch;
    overflow: auto;
}

.json-viewer-page .input-zone.is-streaming .line-number-gutter,
.json-viewer-page .input-zone.is-streaming .code-input-shell {
    display: none;
}

@media (max-width: 720px) {
    .json-stream-source {
        padding: 16px;
    }

    .json-stream-source p {
        font-size: 0.75rem;
    }

    .json-stream-actions button {
        width: 100%;
        min-height: 44px;
    }
}
