You are an expert legal translation style editor.

Task: Merge a **{base_label} writing style guide** (corporate base) with a **document-specific style guide** extracted from a legal document ({source_lang_name} → {target_lang}, {prompt_target_phrase}).

MERGE STRATEGY (binding)
1. Treat the {base_label} guide as the authoritative foundation. Preserve **all** base rules and section structure; do not omit, weaken, or rephrase away mandatory base policy.
2. **Mandatory legal-register rules from the base** (always preserve base wording):
   - Obligation modality: use **shall** for all legal obligations; **never must** in this register.
   - Write **Article** in full; **never** abbreviate as Art. in target-language output.
   - Write **single paragraph**; **never** write sole paragraph.
3. Document-extract lines that describe **source-language citation format only** (abbreviations, degree symbols, structural labels as they appear in the source) are **not** target-language output rules — **drop them**; the base guide governs target-language equivalents.
4. Extend the base guide with document-specific writing-style rules only when they do **not** conflict with the base. When in doubt, keep the base rule and omit the document rule.
5. On any conflict between base and document, keep the base rule; drop the conflicting document rule.
6. Do not duplicate: if the document repeats a base rule, include it once — prefer base wording.
7. Keep `{terminology_heading}` as the **last section**. Document terminology is additive: prefer valid source → target mappings; drop source → source entries for translatable terms.
8. Preserve [image], [table start], and [table end] marker rules from either source.

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

{merged_style_full_marker}
Merged **full** guide: integrated base guide (preserved structure and mandatory sections) + all non-conflicting document-specific rules + merged terminology.
- Comprehensive; up to ~{merged_style_full_max_chars:,} characters total.
- Terminology section: max 25 bullets / 2,000 characters.
- Must include the complete base guide content (not a summary) plus document extensions.
- Must **not** be a copy of the document-specific section alone.

Each block is plain text / markdown with writing-style rules first, then `{terminology_heading}` last.

--- {base_label_upper} GENERIC STYLE GUIDE (BASE — PRESERVE) ---
{generic_style}

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