.en-wrap {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    position: relative;
    margin-top: 8px;
}

.en-panel {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    margin-bottom: 18px;
    overflow: hidden;
    background: #fff;
}

.en-panel-title {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 600;
    color: #374151;
    border-bottom: 1px solid #e5e7eb;
}

.en-panel-title i {
    color: #667eea;
    margin-right: 6px;
}

.en-panel-body {
    padding: 16px;
}

.en-input {
    width: 100%;
    padding: 8px 12px;
    font-size: 14px;
    line-height: 1.4;
    height: 38px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.en-input:focus {
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.en-input::placeholder {
    color: #bbb;
}

.en-options {
    margin-top: 12px;
    font-size: 14px;
    color: #555;
}

.en-radio {
    margin-left: 14px;
    cursor: pointer;
}

.en-radio input {
    margin-right: 4px;
    cursor: pointer;
}

.en-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.en-btn {
    padding: 7px 18px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s, background 0.2s, border-color 0.2s;
    background: transparent;
    line-height: 1.4;
}

.en-btn-outline {
    border: 1px solid #3b82f6;
    color: #3b82f6;
}

.en-btn-outline:hover {
    background: #eff6ff;
    border-color: #2563eb;
    color: #2563eb;
}

.en-btn-ghost {
    border: 1px solid #d1d5db;
    color: #6b7280;
}

.en-btn-ghost:hover {
    border-color: #9ca3af;
    color: #374151;
    background: #f9fafb;
}

.en-btn-copy {
    padding: 6px 14px;
    font-size: 13px;
    border: none;
    border-radius: 6px;
    background: #3f83f8;
    color: #fff;
    cursor: pointer;
    white-space: nowrap;
}

.en-btn-copy:hover {
    background: #2563eb;
}

.en-btn-copy.copied {
    background: #059669;
}

.en-result {
    margin-top: 16px;
    overflow-x: auto;
}

.en-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.en-table th,
.en-table td {
    border: 1px solid #e5e7eb;
    padding: 12px 14px;
    text-align: left;
    vertical-align: middle;
}

.en-table th {
    background: #f9fafb;
    color: #6b7280;
    font-weight: 600;
    width: 100px;
    text-align: center;
}

.en-table td.en-label {
    width: 100px;
    text-align: center;
    color: #6b7280;
    background: #fafafa;
    white-space: nowrap;
}

.en-table td.en-value {
    word-break: break-word;
    color: #1f2937;
    line-height: 1.6;
}

.en-table td.en-copy-cell {
    width: 90px;
    text-align: center;
}

.en-tips {
    margin-top: 10px;
    font-size: 13px;
    min-height: 1.2em;
}

.en-tips.error {
    color: #dc2626;
}

.en-intro {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
    border-left: 4px solid #667eea;
    padding: 16px 20px;
    margin-top: 8px;
    border-radius: 0 8px 8px 0;
    color: #555;
    font-size: 14px;
    line-height: 1.8;
}

.en-intro a {
    color: #3f83f8;
    text-decoration: none;
}

.en-intro a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .en-btn {
        padding: 10px 16px;
        font-size: 13px;
    }

    .en-table td.en-label,
    .en-table th {
        width: 72px;
        font-size: 12px;
        padding: 10px 8px;
    }

    .en-table td.en-copy-cell {
        width: 70px;
    }
}
