.page-tool--curl-to-fetch-converter .tool-page {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.page-tool--curl-to-fetch-converter .ctf-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 16px;
    align-items: stretch;
}

.page-tool--curl-to-fetch-converter .ctf-input,
.page-tool--curl-to-fetch-converter .ctf-output {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.page-tool--curl-to-fetch-converter .ctf-input__body,
.page-tool--curl-to-fetch-converter .ctf-output__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    gap: 12px;
    min-height: 0;
}

.page-tool--curl-to-fetch-converter .ctf-examples {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.page-tool--curl-to-fetch-converter .ctf-examples__label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--faint);
}

.page-tool--curl-to-fetch-converter .ctf-examples__list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.page-tool--curl-to-fetch-converter .ctf-textarea {
    flex: 1 1 auto;
    min-height: 22rem;
    font-family: var(--font-mono);
    font-size: 0.82rem;
}

.page-tool--curl-to-fetch-converter .ctf-hint {
    margin: 0;
    color: var(--muted);
    font-size: 0.78rem;
}

.page-tool--curl-to-fetch-converter .ctf-hint code {
    padding: 0.05rem 0.3rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-xs);
    background: var(--surface-3);
    color: var(--ink-2);
    font-family: var(--font-mono);
}

.page-tool--curl-to-fetch-converter .ctf-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.page-tool--curl-to-fetch-converter .ctf-status {
    margin: 0;
}

.page-tool--curl-to-fetch-converter .ctf-summary {
    margin: 0;
    min-height: 1.1em;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--muted);
    overflow-wrap: anywhere;
}

.page-tool--curl-to-fetch-converter .ctf-code {
    flex: 1 1 auto;
    min-height: 16rem;
    max-height: 34rem;
}

.page-tool--curl-to-fetch-converter .ctf-code.is-placeholder {
    color: var(--faint);
    font-style: italic;
}

.page-tool--curl-to-fetch-converter .ctf-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--muted);
}

.page-tool--curl-to-fetch-converter .ctf-check input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--accent);
}

.page-tool--curl-to-fetch-converter .ctf-messages {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.page-tool--curl-to-fetch-converter .ctf-messages:empty {
    display: none;
}

.page-tool--curl-to-fetch-converter .ctf-message {
    padding: 6px 10px;
    border-left: 3px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: var(--surface-2);
    font-size: 0.8rem;
}

.page-tool--curl-to-fetch-converter .ctf-message--error {
    border-left-color: var(--danger);
    background: var(--danger-soft);
    color: var(--danger);
}

.page-tool--curl-to-fetch-converter .ctf-message--note {
    border-left-color: var(--accent);
    background: var(--accent-soft);
    color: var(--ink-2);
}

.page-tool--curl-to-fetch-converter .ctf-about__text {
    max-width: 80ch;
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.page-tool--curl-to-fetch-converter .ctf-about__text code {
    padding: 0.05rem 0.3rem;
    border-radius: var(--radius-xs);
    background: var(--surface-3);
    color: var(--ink-2);
    font-family: var(--font-mono);
}

@media (max-width: 900px) {
    .page-tool--curl-to-fetch-converter .ctf-workspace {
        grid-template-columns: 1fr;
    }

    .page-tool--curl-to-fetch-converter .ctf-textarea {
        min-height: 15rem;
    }

    .page-tool--curl-to-fetch-converter .ctf-code {
        max-height: 26rem;
    }
}
