{
  "category": "general/general",
  "outputs": [
    "design_system",
    "document"
  ],
  "variant_order": [
    "form"
  ],
  "defaults": {
    "form": "simple"
  },
  "base": {
    "design_system": {
      "primary": "#000000",
      "accent": "#000000",
      "dark": "#000000",
      "light": "#F2F2F2",
      "heading_color": "#000000",
      "font_en": "Times New Roman",
      "font_cjk": "FangSong",
      "font_heading_cjk": "SimHei",
      "sz_body": 32,
      "sz_h1": 44,
      "sz_h2": 32,
      "sz_h3": 30,
      "sz_h4": 28,
      "sz_table": 24,
      "sz_hf": 18,
      "line_spacing": 560,
      "line_rule": "exact",
      "first_line_indent": "640",
      "text_align": "left",
      "margin_left": 1800,
      "margin_right": 1800,
      "sp_body": [
        0,
        240
      ],
      "sp_h1": [
        1200,
        600
      ],
      "sp_h2": [
        340,
        330
      ],
      "sp_h3": [
        200,
        100
      ],
      "sp_h4": [
        160,
        80
      ],
      "heading_numbering": false,
      "quote_border_sz": 24
    },
    "document": {
      "coverTexts": {
        "title": "",
        "subtitle": "",
        "author": "",
        "date": ""
      },
      "backTexts": {},
      "headerText": {},
      "layout": {
        "require_cover_bg": false,
        "no_cover": true,
        "no_toc": true,
        "no_back": true,
        "no_header": true,
        "h1_page_break": false,
        "h1_center": true,
        "normalize_quotes": true,
        "table_no_stripe": true
      }
    }
  },
  "variants": {
    "form": {
      "simple": {
        "label": "简单",
        "patch": {
          "document": {
            "layout": {
              "require_cover_bg": false,
              "no_cover": true,
              "no_toc": true,
              "no_back": true,
              "no_header": true
            }
          }
        }
      },
      "professional": {
        "label": "专业",
        "patch": {
          "design_system": {
            "primary": "#1A3A5C",
            "accent": "#2E86AB",
            "dark": "#000000",
            "light": "#F4F7FA",
            "heading_color": "#000000",
            "cover_text_mode": "light",
            "cover_title_v": "bottom",
            "cover_title_h": "center",
            "cover_panel": "gradient",
            "cover_panel_color": "#1A3A5C",
            "cover_title_color": "#FFFFFF",
            "cover_sub_color": "#E6E6E6",
            "cover_meta_color": "#D8D8D8",
            "font_en": "Times New Roman",
            "font_cjk": "SimSun",
            "font_heading_cjk": "SimSun",
            "sz_body": 12,
            "sz_h1": 22,
            "sz_h2": 16,
            "sz_h3": 14,
            "sz_h4": 12,
            "sz_table": 10,
            "sz_caption": 10,
            "sz_hf": 9,
            "sz_cover_title": 36,
            "line_spacing": 400,
            "line_rule": "auto",
            "first_line_indent": 480,
            "text_align": "both",
            "margin_left": 1440,
            "margin_right": 1440,
            "cover_top_sp": 4800,
            "sp_body": [
              120,
              120
            ],
            "sp_h1": [
              0,
              0
            ],
            "sp_h2": [
              0,
              0
            ],
            "sp_h3": [
              0,
              0
            ],
            "sp_h4": [
              0,
              0
            ],
            "sp_h1_lines": [
              120,
              60
            ],
            "sp_h2_lines": [
              100,
              60
            ],
            "sp_h3_lines": [
              75,
              50
            ],
            "sp_h4_lines": [
              60,
              50
            ],
            "toc_levels": "2-4",
            "toc2_indent": 0,
            "toc3_indent": 360,
            "toc4_indent": 720,
            "heading_numbering": false
          },
          "document": {
            "coverTexts": {
              "title": "",
              "subtitle": "",
              "author": "",
              "date": ""
            },
            "backTexts": {
              "company": "",
              "tagline": "感谢阅读"
            },
            "headerText": {
              "left": "",
              "right": ""
            },
            "layout": {
              "require_cover_bg": true,
              "no_cover": false,
              "no_toc": false,
              "no_back": false,
              "no_header": false,
              "h1_page_break": false,
              "h1_center": true,
              "normalize_quotes": true,
              "table_no_stripe": false
            }
          }
        }
      }
    }
  },
  "overridable": {
    "design_system": {
      "primary": {
        "type": "hex",
        "constraint": "hsl_l<=0.5",
        "note": "仅专业档可用；简单档保持黑字"
      }
    },
    "document": {
      "layout.no_cover": {
        "type": "bool",
        "note": "无封面"
      },
      "layout.no_toc": {
        "type": "bool",
        "note": "无目录"
      },
      "layout.no_back": {
        "type": "bool",
        "note": "无封底"
      }
    }
  },
  "notes": [
    "布局/字体/字号由 form 固定，模型不可手写 design_system/document。",
    "form=simple（默认）：演讲稿公文体，无封面/目录/封底，正文黑、左对齐、首行缩进两字。",
    "form=professional：商业报告体，封面+目录+封底，正文黑、两端对齐；配图/图表/字数由 skill 约束。",
    "仅通过 selections.form 选题；overrides 只填业务文案（coverTexts 等）。"
  ]
}
