.page-tool .encoding-tools-card.converter-card-fill {
    height: min(40rem, calc(100dvh - 9.5rem));
}

@media (width >= 40rem) {
    .page-tool .encoding-tools-card.converter-card-fill {
        height: min(42rem, calc(100dvh - 9rem));
    }
}

.encoding-tools-result {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 0;
    overflow: auto;
}

.encoding-output-block {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    min-width: 0;
}

.encoding-output-label {
    margin: 0;
    font-size: 0.6875rem;
    font-weight: 650;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.encoding-output-value {
    margin: 0;
    padding: 0.625rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    background: var(--surface-muted);
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--text-primary);
    word-break: break-word;
    white-space: pre-wrap;
}

.encoding-char-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8125rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    overflow: hidden;
    background: var(--surface);
}

.encoding-char-table th,
.encoding-char-table td {
    padding: 0.5rem 0.625rem;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}

.encoding-char-table th {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-muted);
    background: var(--surface-muted);
}

.encoding-char-table tr:last-child td {
    border-bottom: 0;
}

.encoding-char-table td:first-child {
    font-size: 1rem;
}

.encoding-char-table td:not(:first-child) {
    font-family: var(--font-mono);
    word-break: break-all;
}

.url-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
    gap: 0.5rem;
}

.url-detail-card {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.625rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    background: var(--surface-muted);
}

.url-detail-key {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.url-detail-value {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    color: var(--text-primary);
    word-break: break-all;
}

.url-params-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8125rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    overflow: hidden;
    background: var(--surface);
}

.url-params-table th,
.url-params-table td {
    padding: 0.5rem 0.625rem;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

.url-params-table th {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-muted);
    background: var(--surface-muted);
}

.url-params-table tr:last-child td {
    border-bottom: 0;
}

.url-params-table td {
    font-family: var(--font-mono);
    word-break: break-all;
}
