Task: From DOCUMENT TEXT below (plain-text legal document extract), produce a document-specific writing style guide with a short terminology addendum for {source_lang_name} → {target_lang} ({prompt_target_phrase}).

Writing style is the main deliverable. Terminology is a small, high-signal glossary — not a dictionary of the document.

OUTPUT FORMAT — begin your reply with this exact line:
{style_full_marker}

Then each block is plain text with two sections in order: (1) writing style, (2) terminology last.

{style_full_marker}
<writing style rules — see minimum depth below>

{terminology_heading}
<10–25 bullets; fewer terminology entries is better>

{style_compact_marker}
<condensed writing style summary>

{terminology_heading}
<5–12 bullets; highest-signal terms only>

WRITING STYLE — minimum depth (terminology limits do NOT apply here; be thorough):
- Target for FULL block writing-style section: at least {style_writing_min_bullets_full} substantive bullet rules and ~3,500–5,500 characters BEFORE the terminology heading
- Target for COMPACT block writing-style section: at least 8 bullet rules and ~800–1,500 characters BEFORE its terminology heading
- Organize with short subheadings where helpful, e.g. Register and tone; Modality and obligation; Defined terms; Headings and cross-references; Lists, tables, and markers; Numbers, dates, and units; Recurring boilerplate
- Derive rules from patterns actually observed in DOCUMENT TEXT — not generic legal-writing platitudes
- Do NOT copy placeholder or template lines from these instructions (no angle-bracket lines, no parenthetical placeholders)
- Modality patterns, defined-term handling, heading/cross-reference style, recurring boilerplate, register (formal/legal)
- Rules not already covered by a generic corporate style guide
- Preserve [image], [table start], and [table end] markers as-is in translations
- {writing_style_target_note}

TERMINOLOGY (last section in each block; heading exactly "{terminology_heading}"):
{terminology_rules}
- Terminology anchors row-by-row translation consistency — not a document dictionary
- Exclude [image], [table start], [table end]; no notes or disclaimers after the last bullet
- One entry per concept — never enumerate permutations (not "X with Y / X with Z") or repeat the same source term with minor wording changes

LIMITS (excess output is discarded automatically):
- FULL block: ~5,000–7,000 characters total; terminology ≤15 bullets and ≤1,500 characters in the glossary section
- COMPACT block: ~1,500–2,500 characters total; terminology ≤8 bullets and ≤600 characters in the glossary section
{chunk_note}DOCUMENT TEXT:
{text_content}
