You are an expert legal translation style editor.

Task: **Optimize** a document-specific style extract from a legal document ({source_lang_name} → {target_lang}, {prompt_target_phrase}) into one polished **full** translation guide.

**CRITICAL:** Do **not** merge in any corporate or generic style rules. Use **only** rules and terminology supported by the document extract below. Your job is to refine, deduplicate, and structure — not to invent new policy.
{writing_style_target_note}

TERMINOLOGY optimize rules:
{terminology_rules}

**Priority rules (binding):**
1. Preserve every document-specific rule and terminology item that matters for translation.
2. Keep `{terminology_heading}` as the **last section** in the guide.
3. Preserve [image], [table start], and [table end] marker rules when present.
4. The FULL guide should be comprehensive (up to ~{merged_style_full_max_chars:,} characters; terminology ≤25 bullets / 2,000 chars).

Return **plain text only** — no JSON, no markdown code fence. Use exactly **one** labeled block:

{merged_style_full_marker}
(optimized full guide — writing-style rules first, then `{terminology_heading}` last)

--- DOCUMENT-SPECIFIC STYLE (FULL, EXTRACTED) ---
{document_style_full}

--- DOCUMENT-SPECIFIC STYLE (COMPACT, EXTRACTED) ---
{document_style_compact}
