{
	"Type": "Panel",
	"Id": "system_view",
	"Width": "100%",
	"Height": "100%",
	"Classes": [
		"ps-panel--transparent-overlay"
	],
	"Children": [
		{
			"Type": "Modal",
			"Id": "sv_military_speed_modal",
			"Title": "Set Fleet Speed",
			"IsVisible": false,
			"CloseCommand": "core.system_view.cancel_naval_speed_modal",
			"DefaultCommand": "core.system_view.confirm_naval_speed_modal",
			"Size": "Small",
			"Children": [
				{
					"Type": "StackPanel",
					"Orientation": "Vertical",
					"Gap": 8,
					"Width": "100%",
					"Children": [
						{
							"Type": "Label",
							"Id": "sv_military_speed_modal_prompt",
							"Text": "Enter the new fleet speed in km/s."
						},
						{
							"Type": "Input",
							"Id": "sv_military_speed_input",
							"Placeholder": "Speed in km/s",
							"Command": "core.system_view.set_naval_speed_value"
						},
						{
							"Type": "StackPanel",
							"Orientation": "Horizontal",
							"Gap": 8,
							"Width": "100%",
							"Children": [
								{
									"Type": "Button",
									"Text": "Cancel",
									"Width": "50%",
									"Command": "core.system_view.cancel_naval_speed_modal"
								},
								{
									"Type": "Button",
									"Text": "Set Speed",
									"Width": "50%",
									"Command": "core.system_view.confirm_naval_speed_modal"
								}
							]
						}
					]
				}
			]
		},
		{
			"Type": "Modal",
			"Id": "sv_military_transfer_modal",
			"Title": "Transfer Fleet",
			"IsVisible": false,
			"CloseCommand": "core.system_view.cancel_naval_transfer_modal",
			"DefaultCommand": "core.system_view.confirm_naval_transfer_modal",
			"Size": "Small",
			"Children": [
				{
					"Type": "StackPanel",
					"Orientation": "Vertical",
					"Gap": 8,
					"Width": "100%",
					"Children": [
						{
							"Type": "Label",
							"Id": "sv_military_transfer_prompt",
							"Text": "Select the player-controlled race that should receive the fleet."
						},
						{
							"Type": "Select",
							"Id": "sv_military_transfer_race_select",
							"Width": "100%",
							"Value": "",
							"Options": [],
							"Command": "core.system_view.set_naval_transfer_race"
						},
						{
							"Type": "StackPanel",
							"Orientation": "Horizontal",
							"Gap": 8,
							"Width": "100%",
							"Children": [
								{
									"Type": "Button",
									"Text": "Cancel",
									"Width": "50%",
									"Command": "core.system_view.cancel_naval_transfer_modal"
								},
								{
									"Type": "Button",
									"Text": "Transfer Fleet",
									"Width": "50%",
									"Command": "core.system_view.confirm_naval_transfer_modal"
								}
							]
						}
					]
				}
			]
		},
		{
			"Type": "Modal",
			"Id": "sv_military_name_modal",
			"Title": "Edit Name",
			"IsVisible": false,
			"CloseCommand": "core.system_view.cancel_naval_name_modal",
			"DefaultCommand": "core.system_view.confirm_naval_name_modal",
			"Size": "Small",
			"Children": [
				{
					"Type": "StackPanel",
					"Orientation": "Vertical",
					"Gap": 8,
					"Width": "100%",
					"Children": [
						{
							"Type": "Label",
							"Id": "sv_military_name_modal_prompt",
							"Text": "Enter the name for the new hierarchy node."
						},
						{
							"Type": "Input",
							"Id": "sv_military_name_input",
							"InputType": "text",
							"AutoFocus": true,
							"Value": "",
							"Placeholder": "Name",
							"Command": "core.system_view.set_naval_modal_name"
						},
						{
							"Type": "StackPanel",
							"Orientation": "Horizontal",
							"Gap": 8,
							"Width": "100%",
							"Children": [
								{
									"Type": "Button",
									"Text": "Cancel",
									"Width": "50%",
									"Command": "core.system_view.cancel_naval_name_modal"
								},
								{
									"Type": "Button",
									"Id": "sv_military_name_confirm",
									"Text": "Confirm",
									"Width": "50%",
									"Command": "core.system_view.confirm_naval_name_modal"
								}
							]
						}
					]
				}
			]
		},
		{
			"Type": "Modal",
			"Id": "sv_military_select_name_modal",
			"Title": "Select Ship Name",
			"IsVisible": false,
			"CloseCommand": "core.system_view.cancel_naval_select_name_modal",
			"DefaultCommand": "core.system_view.confirm_naval_select_name_modal",
			"Size": "Medium",
			"Children": [
				{
					"Type": "StackPanel",
					"Orientation": "Vertical",
					"Gap": 8,
					"Width": "100%",
					"Children": [
						{
							"Type": "Label",
							"Id": "sv_military_select_name_prompt",
							"Text": "Choose a themed ship name."
						},
						{
							"Type": "Label",
							"Id": "sv_military_select_name_theme",
							"Text": "Theme: unavailable",
							"Classes": [
								"ps-text-secondary"
							]
						},
						{
							"Type": "Label",
							"Id": "sv_military_select_name_current",
							"Text": "Current: n/a",
							"Classes": [
								"ps-text-secondary"
							]
						},
						{
							"Type": "Grid",
							"Width": "100%",
							"ColumnDefinitions": [
								"1fr",
								"1fr"
							],
							"Gap": 8,
							"Children": [
								{
									"Type": "StackPanel",
									"Grid.Column": 0,
									"Orientation": "Vertical",
									"Gap": 4,
									"Children": [
										{
											"Type": "Label",
											"Text": "Available Names",
											"Classes": [
												"ps-section-title"
											]
										},
										{
											"Type": "Select",
											"Id": "sv_military_select_name_available_select",
											"Width": "100%",
											"Value": "",
											"Options": [],
											"Command": "core.system_view.set_naval_ship_name_option"
										}
									]
								},
								{
									"Type": "StackPanel",
									"Grid.Column": 1,
									"Orientation": "Vertical",
									"Gap": 4,
									"Children": [
										{
											"Type": "Label",
											"Text": "Recently Used",
											"Classes": [
												"ps-section-title"
											]
										},
										{
											"Type": "Select",
											"Id": "sv_military_select_name_recent_select",
											"Width": "100%",
											"Value": "",
											"Options": [],
											"Command": "core.system_view.set_naval_ship_name_option"
										}
									]
								}
							]
						},
						{
							"Type": "Label",
							"Text": "Recently used names may already belong to another ship in the same race.",
							"Classes": [
								"ps-text--muted"
							]
						},
						{
							"Type": "StackPanel",
							"Orientation": "Horizontal",
							"Gap": 8,
							"Width": "100%",
							"Children": [
								{
									"Type": "Button",
									"Text": "Cancel",
									"Width": "50%",
									"Command": "core.system_view.cancel_naval_select_name_modal"
								},
								{
									"Type": "Button",
									"Id": "sv_military_select_name_confirm",
									"Text": "Apply Name",
									"Width": "50%",
									"Command": "core.system_view.confirm_naval_select_name_modal"
								}
							]
						}
					]
				}
			]
		},
		{
			"Type": "ContextMenu",
			"Id": "sv_body_context_menu",
			"IsVisible": false,
			"Title": "Body Actions",
			"Items": [
				{
					"Id": "establish_colony_action",
					"Text": "Establish Colony",
					"Command": "core.establish_colony",
					"IsDisabled": true
				}
			]
		},
		{
			"Type": "Modal",
			"Id": "sv_military_delete_modal",
			"Title": "Delete Hierarchy Node",
			"IsVisible": false,
			"CloseCommand": "core.system_view.cancel_naval_delete",
			"DefaultCommand": "core.system_view.confirm_naval_delete",
			"Size": "Small",
			"Children": [
				{
					"Type": "StackPanel",
					"Orientation": "Vertical",
					"Gap": 8,
					"Width": "100%",
					"Children": [
						{
							"Type": "Label",
							"Id": "sv_military_delete_prompt",
							"Text": "Delete the selected hierarchy node?"
						},
						{
							"Type": "StackPanel",
							"Orientation": "Horizontal",
							"Gap": 8,
							"Width": "100%",
							"Children": [
								{
									"Type": "Button",
									"Text": "Cancel",
									"Width": "50%",
									"Command": "core.system_view.cancel_naval_delete"
								},
								{
									"Type": "Button",
									"Text": "Delete",
									"Width": "50%",
									"Command": "core.system_view.confirm_naval_delete"
								}
							]
						}
					]
				}
			]
		},
		{
			"Type": "StackPanel",
			"Id": "sv_side_bodies",
			"IsVisible": false,
			"Orientation": "Vertical",
			"Gap": 6,
			"Children": [
				{
					"Type": "Tree",
					"Id": "sv_all_bodies_tree",
					"HideIcons": true,
					"HideParentSelection": false,
					"FullRowToggle": false,
					"Height": "100%",
					"Nodes": [],
					"ShowSearch": true,
					"SearchPlaceholder": "Search bodies..."
				}
			]
		},
		{
			"Type": "StackPanel",
			"Id": "sv_side_military",
			"IsVisible": false,
			"Orientation": "Vertical",
			"Gap": 6,
			"Children": [
				{
					"Type": "Tree",
					"Id": "sv_side_mil_tree",
					"Width": "100%",
					"Height": "100%",
					"HideIcons": false,
					"FullRowToggle": false,
					"ServerExpansion": true,
					"ShowSearch": true,
					"SearchPlaceholder": "Search fleets...",
					"Nodes": []
				},
				{
					"Type": "Label",
					"Id": "sv_side_mil_empty",
					"Text": "",
					"IsVisible": false,
					"Classes": [
						"ps-text--muted"
					]
				}
			]
		},
		{
			"Type": "StackPanel",
			"Id": "sv_side_waypoints",
			"IsVisible": false,
			"Orientation": "Vertical",
			"Gap": 6,
			"Children": [
				{
					"Type": "Label",
					"Text": "Waypoints",
					"Classes": [
						"ps-section-title"
					]
				},
				{
					"Type": "Tree",
					"Id": "sv_waypoints_tree",
					"HideIcons": false,
					"Nodes": []
				},
				{
					"Type": "StackPanel",
					"Orientation": "Horizontal",
					"Gap": 6,
					"Children": [
						{
							"Type": "Button",
							"Text": "Create",
							"IsEnabled": false,
							"Classes": [
								"ps-btn--sm"
							]
						},
						{
							"Type": "Button",
							"Text": "Delete",
							"IsEnabled": false,
							"Classes": [
								"ps-btn--sm"
							]
						}
					]
				},
				{
					"Type": "Label",
					"Text": "Waypoint management requires movement order system.",
					"Classes": [
						"ps-text--muted"
					]
				}
			]
		},
		{
			"Type": "StackPanel",
			"Id": "sv_side_contacts",
			"IsVisible": false,
			"Orientation": "Vertical",
			"Gap": 6,
			"Children": [
				{
					"Type": "Label",
					"Text": "Diplomatic Contacts",
					"Classes": [
						"ps-section-title"
					]
				},
				{
					"Type": "Label",
					"Text": "Known contacts in the current system filtered by diplomatic status.",
					"Classes": [
						"ps-text--muted"
					]
				},
				{
					"Type": "CheckGroup",
					"Id": "sv_contacts_filters",
					"Orientation": "Vertical",
					"Command": "core.system_view.set_contact_status_filter",
					"Items": [
						{
							"Value": "Hostile",
							"Label": "Hostile"
						},
						{
							"Value": "Neutral",
							"Label": "Neutral"
						},
						{
							"Value": "Friendly",
							"Label": "Friendly"
						},
						{
							"Value": "Allied",
							"Label": "Allied"
						},
						{
							"Value": "Civilian",
							"Label": "Civilian"
						}
					],
					"SelectedValues": [
						"Hostile",
						"Neutral",
						"Friendly",
						"Allied",
						"Civilian"
					]
				},
				{
					"Type": "Tree",
					"Id": "sv_contacts_tree",
					"HideIcons": false,
					"Nodes": []
				},
				{
					"Type": "Label",
					"Text": "Sensor Contacts",
					"Margin": "0 10 0 0",
					"Classes": [
						"ps-section-title"
					]
				},
				{
					"Type": "Label",
					"Text": "Live and recent detections in the current system grouped by type and status.",
					"Classes": [
						"ps-text--muted"
					]
				},
				{
					"Type": "RadioGroup",
					"Id": "sv_sensor_contact_age_group",
					"Style": "segmented",
					"Orientation": "Horizontal",
					"SelectedValue": "Active",
					"Command": "core.system_view.set_contact_age_filter",
					"Items": [
						{
							"Value": "Active",
							"Label": "Active"
						},
						{
							"Value": "1 Day",
							"Label": "1 Day"
						},
						{
							"Value": "1 Month",
							"Label": "1 Month"
						},
						{
							"Value": "1 Year",
							"Label": "1 Year"
						}
					]
				},
				{
					"Type": "Tree",
					"Id": "sv_sensor_contacts_tree",
					"HideIcons": false,
					"EnableVerticalScroll": true,
					"Nodes": []
				},
				{
					"Type": "StackPanel",
					"Id": "sv_sensor_contact_detail_panel",
					"Orientation": "Vertical",
					"Gap": 8,
					"IsVisible": false,
					"Children": [
						{
							"Type": "Label",
							"Id": "sv_sensor_contact_detail_title",
							"Text": "",
							"Classes": [
								"ps-section-title"
							]
						},
						{
							"Type": "Grid",
							"Width": "100%",
							"ColumnDefinitions": [
								"120px",
								"*"
							],
							"Gap": 8,
							"Children": [
								{
									"Type": "Label",
									"Text": "Status",
									"Grid.Column": 0,
									"Classes": [
										"ps-text-secondary"
									]
								},
								{
									"Type": "Label",
									"Id": "sv_sensor_contact_detail_status",
									"Text": "",
									"Grid.Column": 1
								},
								{
									"Type": "Label",
									"Text": "Method",
									"Grid.Column": 0,
									"Grid.Row": 1,
									"Classes": [
										"ps-text-secondary"
									]
								},
								{
									"Type": "Label",
									"Id": "sv_sensor_contact_detail_method",
									"Text": "",
									"Grid.Column": 1,
									"Grid.Row": 1
								},
								{
									"Type": "Label",
									"Text": "Signature",
									"Grid.Column": 0,
									"Grid.Row": 2,
									"Classes": [
										"ps-text-secondary"
									]
								},
								{
									"Type": "Label",
									"Id": "sv_sensor_contact_detail_signature",
									"Text": "",
									"Grid.Column": 1,
									"Grid.Row": 2
								},
								{
									"Type": "Label",
									"Text": "Speed",
									"Grid.Column": 0,
									"Grid.Row": 3,
									"Classes": [
										"ps-text-secondary"
									]
								},
								{
									"Type": "Label",
									"Id": "sv_sensor_contact_detail_speed",
									"Text": "",
									"Grid.Column": 1,
									"Grid.Row": 3
								},
								{
									"Type": "Label",
									"Text": "Position",
									"Grid.Column": 0,
									"Grid.Row": 4,
									"Classes": [
										"ps-text-secondary"
									]
								},
								{
									"Type": "Label",
									"Id": "sv_sensor_contact_detail_position",
									"Text": "",
									"Grid.Column": 1,
									"Grid.Row": 4
								},
								{
									"Type": "Label",
									"Text": "Age",
									"Grid.Column": 0,
									"Grid.Row": 5,
									"Classes": [
										"ps-text-secondary"
									]
								},
								{
									"Type": "Label",
									"Id": "sv_sensor_contact_detail_age",
									"Text": "",
									"Grid.Column": 1,
									"Grid.Row": 5
								},
								{
									"Type": "Label",
									"Text": "Distance",
									"Grid.Column": 0,
									"Grid.Row": 6,
									"Classes": [
										"ps-text-secondary"
									]
								},
								{
									"Type": "Label",
									"Id": "sv_sensor_contact_detail_distance",
									"Text": "",
									"Grid.Column": 1,
									"Grid.Row": 6
								}
							]
						}
					]
				},
				{
					"Type": "Label",
					"Id": "sv_sensor_contact_detail_empty",
					"Text": "Select a sensor contact to inspect its last known data.",
					"Classes": [
						"ps-text--muted"
					]
				}
			]
		},
		{
			"Type": "StackPanel",
			"Id": "sv_side_minerals",
			"IsVisible": false,
			"Orientation": "Vertical",
			"Gap": 6,
			"Children": [
				{
					"Type": "Label",
					"Text": "Mineral Deposits",
					"Classes": [
						"ps-section-title"
					]
				},
				{
					"Type": "Tree",
					"Id": "sv_minerals_tree",
					"HideIcons": true,
					"Nodes": []
				},
				{
					"Type": "Grid",
					"Id": "sv_minerals_footer",
					"Margin": "8px 0 0 0",
					"ColumnDefinitions": [
						"*",
						"Auto"
					],
					"Children": [
						{
							"Type": "Label",
							"Id": "sv_minerals_footer_hint",
							"Grid.Column": 0,
							"Text": "Open the full report to sort and filter all surveyed deposits.",
							"VerticalAlignment": "Center",
							"Classes": [
								"ps-text-secondary"
							]
						},
						{
							"Type": "Button",
							"Id": "sv_open_geological_report",
							"Grid.Column": 1,
							"Text": "Geological Report",
							"Command": "protostar4x.core.survey.report.open",
							"Classes": [
								"ps-btn--sm"
							]
						}
					]
				}
			]
		},
		{
			"Type": "StackPanel",
			"Id": "sv_side_artifacts",
			"IsVisible": false,
			"Orientation": "Vertical",
			"Gap": 6,
			"Children": [
				{
					"Type": "Label",
					"Text": "Artifacts",
					"Classes": [
						"ps-section-title"
					]
				},
				{
					"Type": "Label",
					"Text": "Ruins, ancient constructs, and wrecks in the current system. Requires artifact discovery mechanics.",
					"Classes": [
						"ps-text--muted"
					]
				},
				{
					"Type": "Tree",
					"Id": "sv_artifacts_tree",
					"HideIcons": false,
					"Nodes": []
				}
			]
		},
		{
			"Type": "StackPanel",
			"Id": "sv_side_display",
			"IsVisible": false,
			"Orientation": "Vertical",
			"Gap": 8,
			"Children": [
				{
					"Type": "StackPanel",
					"Orientation": "Horizontal",
					"Gap": 8,
					"Width": "100%",
					"VerticalAlignment": "Center",
					"Children": [
						{
							"Type": "Label",
							"Id": "sv_display_active_count",
							"Text": "0 of 50 layers active",
							"Classes": [
								"ps-text--muted"
							]
						},
						{
							"Type": "Button",
							"Style": "primary",
							"Text": "Reset to Defaults",
							"Command": "core.system_view.reset_display_defaults",
							"Classes": [
								"ps-btn--sm"
							]
						}
					]
				},
				{
					"Type": "Input",
					"Id": "sv_display_search",
					"Placeholder": "Filter layers...",
					"CommitOnInput": true,
					"ShowClearButton": true,
					"Command": "core.system_view.set_display_search"
				},
				{
					"Type": "StackPanel",
					"Orientation": "Horizontal",
					"Gap": 6,
					"Width": "100%",
					"Children": [
						{
							"Type": "Button",
							"Style": "primary",
							"Text": "Survey",
							"Command": "core.system_view.apply_display_preset",
							"CommandPayload": {
								"preset": "survey"
							},
							"Classes": [
								"ps-btn--sm"
							]
						},
						{
							"Type": "Button",
							"Style": "primary",
							"Text": "Combat",
							"Command": "core.system_view.apply_display_preset",
							"CommandPayload": {
								"preset": "combat"
							},
							"Classes": [
								"ps-btn--sm"
							]
						},
						{
							"Type": "Button",
							"Style": "primary",
							"Text": "Nav",
							"Command": "core.system_view.apply_display_preset",
							"CommandPayload": {
								"preset": "navigation"
							},
							"Classes": [
								"ps-btn--sm"
							]
						},
						{
							"Type": "Button",
							"Style": "primary",
							"Text": "Minimal",
							"Command": "core.system_view.apply_display_preset",
							"CommandPayload": {
								"preset": "minimal"
							},
							"Classes": [
								"ps-btn--sm"
							]
						}
					],
					"Classes": [
						"ps-display-presets"
					]
				},
												{
					"Type": "Collapsible",
					"Id": "sv_display_presets_section",
					"Title": "Presets",
					"IsExpanded": false,
					"ToggleCommand": "core.system_view.toggle_display_presets_panel",
					"Classes": [
						"ps-display-presets-section"
					],
					"Children": [
						{
							"Type": "StackPanel",
							"Orientation": "Horizontal",
							"Gap": 8,
							"Width": "100%",
							"Classes": [ "ps-display-user-presets__row" ],
							"Children": [
								{ "Type": "Select", "Id": "sv_display_user_preset_select", "Width": "100%", "Placeholder": "Select a preset\u2026", "IsCompact": true, "Value": "", "Options": [], "Command": "core.system_view.load_display_preset", "Classes": [ "ps-display-user-presets__select" ] },
								{ "Type": "Button", "Id": "sv_display_preset_save_btn", "Style": "primary", "Text": "Create", "TooltipText": "Type a name to create a new preset, update the selected one\u0027s layers, or rename it", "Command": "core.system_view.save_display_preset", "Classes": [ "ps-btn--sm" ] },
								{ "Type": "Button", "Id": "sv_display_preset_delete_btn", "Style": "danger", "Text": "Delete", "TooltipText": "Delete the selected preset", "Command": "core.system_view.confirm_delete_display_preset", "Classes": [ "ps-btn--sm" ] }
							]
						},
						{ "Type": "Input", "Id": "sv_display_preset_name", "Placeholder": "New preset name\u2026", "CommitOnInput": true, "ShowClearButton": true, "Command": "core.system_view.set_display_preset_name", "Classes": [ "ps-display-user-presets__input" ] }
					]
				},
				{
					"Type": "Collapsible",
					"Id": "sv_display_section_bodytypes",
					"Title": "Body Types",
					"IsExpanded": true,
					"Children": [
						{
							"Type": "StackPanel",
							"Orientation": "Vertical",
							"Gap": 5,
							"Children": [
								{
									"Type": "StackPanel",
									"Orientation": "Vertical",
									"Gap": 2,
									"Children": [
										{
											"Type": "Checkbox",
											"Id": "sv_display_master_star",
											"Label": "Star",
											"Command": "core.system_view.set_body_type",
											"CommandPayload": {
												"type": "star"
											},
											"IsChecked": true
										},
										{
											"Type": "StackPanel",
											"Orientation": "Horizontal",
											"Gap": 10,
											"Margin": "0 0 0 12",
											"Children": [
												{
													"Type": "Checkbox",
													"Id": "sv_display_chk_star_orbit",
													"Label": "Orbit",
													"Command": "core.system_view.toggle_display_setting",
													"CommandPayload": {
														"changedValue": "ShowStarOrbits"
													},
													"IsChecked": true
												},
												{
													"Type": "Checkbox",
													"Id": "sv_display_chk_star_name",
													"Label": "Label",
													"Command": "core.system_view.toggle_display_setting",
													"CommandPayload": {
														"changedValue": "ShowStarNames"
													},
													"IsChecked": true
												}
											]
										}
									]
								},
								{
									"Type": "StackPanel",
									"Orientation": "Vertical",
									"Gap": 2,
									"Children": [
										{
											"Type": "Checkbox",
											"Id": "sv_display_master_planet",
											"Label": "Planets",
											"Command": "core.system_view.set_body_type",
											"CommandPayload": {
												"type": "planet"
											},
											"IsChecked": true
										},
										{
											"Type": "StackPanel",
											"Orientation": "Horizontal",
											"Gap": 10,
											"Margin": "0 0 0 12",
											"Children": [
												{
													"Type": "Checkbox",
													"Id": "sv_display_chk_planet_vis",
													"Label": "Visibility",
													"Command": "core.system_view.toggle_display_setting",
													"CommandPayload": {
														"changedValue": "ShowPlanets"
													},
													"IsChecked": true
												},
												{
													"Type": "Checkbox",
													"Id": "sv_display_chk_planet_orbit",
													"Label": "Orbit",
													"Command": "core.system_view.toggle_display_setting",
													"CommandPayload": {
														"changedValue": "ShowPlanetOrbits"
													},
													"IsChecked": true
												},
												{
													"Type": "Checkbox",
													"Id": "sv_display_chk_planet_name",
													"Label": "Label",
													"Command": "core.system_view.toggle_display_setting",
													"CommandPayload": {
														"changedValue": "ShowPlanetNames"
													},
													"IsChecked": true
												}
											]
										}
									]
								},
								{
									"Type": "StackPanel",
									"Orientation": "Vertical",
									"Gap": 2,
									"Children": [
										{
											"Type": "Checkbox",
											"Id": "sv_display_master_dwarf",
											"Label": "Dwarf Planets",
											"Command": "core.system_view.set_body_type",
											"CommandPayload": {
												"type": "dwarf"
											},
											"IsChecked": true
										},
										{
											"Type": "StackPanel",
											"Orientation": "Horizontal",
											"Gap": 10,
											"Margin": "0 0 0 12",
											"Children": [
												{
													"Type": "Checkbox",
													"Id": "sv_display_chk_dwarf_vis",
													"Label": "Visibility",
													"Command": "core.system_view.toggle_display_setting",
													"CommandPayload": {
														"changedValue": "ShowDwarfPlanets"
													},
													"IsChecked": true
												},
												{
													"Type": "Checkbox",
													"Id": "sv_display_chk_dwarf_orbit",
													"Label": "Orbit",
													"Command": "core.system_view.toggle_display_setting",
													"CommandPayload": {
														"changedValue": "ShowDwarfOrbits"
													},
													"IsChecked": true
												},
												{
													"Type": "Checkbox",
													"Id": "sv_display_chk_dwarf_name",
													"Label": "Label",
													"Command": "core.system_view.toggle_display_setting",
													"CommandPayload": {
														"changedValue": "ShowDwarfNames"
													},
													"IsChecked": true
												}
											]
										}
									]
								},
								{
									"Type": "StackPanel",
									"Orientation": "Vertical",
									"Gap": 2,
									"Children": [
										{
											"Type": "Checkbox",
											"Id": "sv_display_master_moon",
											"Label": "Moons",
											"Command": "core.system_view.set_body_type",
											"CommandPayload": {
												"type": "moon"
											},
											"IsChecked": true
										},
										{
											"Type": "StackPanel",
											"Orientation": "Horizontal",
											"Gap": 10,
											"Margin": "0 0 0 12",
											"Children": [
												{
													"Type": "Checkbox",
													"Id": "sv_display_chk_moon_vis",
													"Label": "Visibility",
													"Command": "core.system_view.toggle_display_setting",
													"CommandPayload": {
														"changedValue": "ShowMoons"
													},
													"IsChecked": true
												},
												{
													"Type": "Checkbox",
													"Id": "sv_display_chk_moon_orbit",
													"Label": "Orbit",
													"Command": "core.system_view.toggle_display_setting",
													"CommandPayload": {
														"changedValue": "ShowMoonOrbits"
													},
													"IsChecked": true
												},
												{
													"Type": "Checkbox",
													"Id": "sv_display_chk_moon_name",
													"Label": "Label",
													"Command": "core.system_view.toggle_display_setting",
													"CommandPayload": {
														"changedValue": "ShowMoonNames"
													},
													"IsChecked": true
												}
											]
										}
									]
								},
								{
									"Type": "StackPanel",
									"Orientation": "Vertical",
									"Gap": 2,
									"Children": [
										{
											"Type": "Checkbox",
											"Id": "sv_display_master_asteroid",
											"Label": "Asteroids",
											"Command": "core.system_view.set_body_type",
											"CommandPayload": {
												"type": "asteroid"
											},
											"IsChecked": true
										},
										{
											"Type": "StackPanel",
											"Orientation": "Horizontal",
											"Gap": 10,
											"Margin": "0 0 0 12",
											"Children": [
												{
													"Type": "Checkbox",
													"Id": "sv_display_chk_asteroid_vis",
													"Label": "Visibility",
													"Command": "core.system_view.toggle_display_setting",
													"CommandPayload": {
														"changedValue": "ShowAsteroids"
													},
													"IsChecked": true
												},
												{
													"Type": "Checkbox",
													"Id": "sv_display_chk_asteroid_orbit",
													"Label": "Orbit",
													"Command": "core.system_view.toggle_display_setting",
													"CommandPayload": {
														"changedValue": "ShowAsteroidOrbits"
													},
													"IsChecked": true
												},
												{
													"Type": "Checkbox",
													"Id": "sv_display_chk_asteroid_name",
													"Label": "Label",
													"Command": "core.system_view.toggle_display_setting",
													"CommandPayload": {
														"changedValue": "ShowAsteroidNames"
													},
													"IsChecked": true
												}
											]
										}
									]
								},
								{
									"Type": "StackPanel",
									"Orientation": "Vertical",
									"Gap": 2,
									"Children": [
										{
											"Type": "Checkbox",
											"Id": "sv_display_master_comet",
											"Label": "Comets",
											"Command": "core.system_view.set_body_type",
											"CommandPayload": {
												"type": "comet"
											},
											"IsChecked": true
										},
										{
											"Type": "StackPanel",
											"Orientation": "Horizontal",
											"Gap": 10,
											"Margin": "0 0 0 12",
											"Children": [
												{
													"Type": "Checkbox",
													"Id": "sv_display_chk_comet_vis",
													"Label": "Visibility",
													"Command": "core.system_view.toggle_display_setting",
													"CommandPayload": {
														"changedValue": "ShowComets"
													},
													"IsChecked": true
												},
												{
													"Type": "Checkbox",
													"Id": "sv_display_chk_comet_orbit",
													"Label": "Orbit",
													"Command": "core.system_view.toggle_display_setting",
													"CommandPayload": {
														"changedValue": "ShowCometOrbits"
													},
													"IsChecked": true
												},
												{
													"Type": "Checkbox",
													"Id": "sv_display_chk_comet_name",
													"Label": "Label",
													"Command": "core.system_view.toggle_display_setting",
													"CommandPayload": {
														"changedValue": "ShowCometNames"
													},
													"IsChecked": true
												}
											]
										}
									]
								}
							]
						}
					]
				},
				{
					"Type": "Collapsible",
					"Id": "sv_display_section_mapelements",
					"Title": "Map Elements",
					"IsExpanded": true,
					"Children": [
						{
							"Type": "StackPanel",
							"Orientation": "Vertical",
							"Gap": 3,
							"Children": [
								{
									"Type": "Checkbox",
									"Id": "sv_display_chk_colonies",
									"Label": "Colonies",
									"Command": "core.system_view.toggle_display_setting",
									"CommandPayload": {
										"changedValue": "ShowColonies"
									},
									"IsChecked": true
								},
								{
									"Type": "Checkbox",
									"Id": "sv_display_chk_jumppoints",
									"Label": "Jump Points",
									"Command": "core.system_view.toggle_display_setting",
									"CommandPayload": {
										"changedValue": "ShowJumpPoints"
									},
									"IsChecked": true
								},
								{
									"Type": "Checkbox",
									"Id": "sv_display_chk_fleets",
									"Label": "Fleets",
									"Command": "core.system_view.toggle_display_setting",
									"CommandPayload": {
										"changedValue": "ShowFleets"
									},
									"IsChecked": true
								},
								{
									"Type": "Checkbox",
									"Id": "sv_display_chk_packets",
									"Label": "Mineral Packets",
									"Command": "core.system_view.toggle_display_setting",
									"CommandPayload": {
										"changedValue": "ShowMassDriverPackets"
									},
									"IsChecked": true
								},
								{
									"Type": "Checkbox",
									"Id": "sv_display_chk_selectedorbit",
									"Label": "Selected Body Orbit",
									"Command": "core.system_view.toggle_display_setting",
									"CommandPayload": {
										"changedValue": "ShowSelectedOrbit"
									},
									"IsChecked": true
								}
							]
						}
					]
				},
				{
					"Type": "Collapsible",
					"Id": "sv_display_section_contacts",
					"Title": "Contacts & Sensors",
					"IsExpanded": true,
					"HeaderActions": [
						{
							"Type": "Button",
							"Style": "primary",
							"Text": "All",
							"Command": "core.system_view.set_display_group",
							"CommandPayload": {
								"group": "contacts",
								"action": "all"
							},
							"Classes": [
								"ps-btn--sm"
							]
						},
						{
							"Type": "Button",
							"Style": "primary",
							"Text": "None",
							"Command": "core.system_view.set_display_group",
							"CommandPayload": {
								"group": "contacts",
								"action": "none"
							},
							"Classes": [
								"ps-btn--sm"
							]
						}
					],
					"Children": [
						{
							"Type": "CheckGroup",
						"Id": "sv_display_contacts_group",
						"Orientation": "Vertical",
						"IsCompact": true,
						"Command": "core.system_view.toggle_display_setting",
						"Items": [
							{
								"Value": "ShowActiveSensors",
								"Label": "Active Sensors"
							},
							{
								"Value": "ShowSensorRangeLabels",
								"Label": "Sensor Range Labels"
							},
							{
								"Value": "ShowContactMarkers",
								"Label": "Contact Markers"
							},
							{
								"Value": "ShowStaleContacts",
								"Label": "Show Stale Contacts"
							}
						],
						"SelectedValues": []
					}
					]
				},
				{
					"Type": "Collapsible",
					"Id": "sv_display_section_combat",
					"Title": "Combat",
					"IsExpanded": true,
					"HeaderActions": [
						{
							"Type": "Button",
							"Style": "primary",
							"Text": "All",
							"Command": "core.system_view.set_display_group",
							"CommandPayload": {
								"group": "combat",
								"action": "all"
							},
							"Classes": [
								"ps-btn--sm"
							]
						},
						{
							"Type": "Button",
							"Style": "primary",
							"Text": "None",
							"Command": "core.system_view.set_display_group",
							"CommandPayload": {
								"group": "combat",
								"action": "none"
							},
							"Classes": [
								"ps-btn--sm"
							]
						}
					],
					"Children": [
						{
							"Type": "CheckGroup",
						"Id": "sv_display_combat_group",
						"Orientation": "Vertical",
						"IsCompact": true,
						"Command": "core.system_view.toggle_display_setting",
						"Items": [
							{
								"Value": "ShowFireControlRange",
								"Label": "Fire Control Range"
							},
							{
								"Value": "ShowWeaponRanges",
								"Label": "Weapon Ranges"
							},
							{
								"Value": "ShowWeaponRangeLabels",
								"Label": "Weapon Range Labels"
							}
						],
						"SelectedValues": []
					}
					]
				},
				{
					"Type": "Collapsible",
					"Id": "sv_display_section_fleet",
					"Title": "Fleet",
					"IsExpanded": true,
					"HeaderActions": [
						{
							"Type": "Button",
							"Style": "primary",
							"Text": "All",
							"Command": "core.system_view.set_display_group",
							"CommandPayload": {
								"group": "fleet",
								"action": "all"
							},
							"Classes": [
								"ps-btn--sm"
							]
						},
						{
							"Type": "Button",
							"Style": "primary",
							"Text": "None",
							"Command": "core.system_view.set_display_group",
							"CommandPayload": {
								"group": "fleet",
								"action": "none"
							},
							"Classes": [
								"ps-btn--sm"
							]
						}
					],
					"Children": [
						{
							"Type": "CheckGroup",
						"Id": "sv_display_fleet_group",
						"Orientation": "Vertical",
						"IsCompact": true,
						"Command": "core.system_view.toggle_display_setting",
						"Items": [
							{
								"Value": "ShowMovementTail",
								"Label": "Movement Trail"
							},
							{
								"Value": "ShowFleetHeading",
								"Label": "Fleet Heading"
							},
							{
								"Value": "ShowFleetOrders",
								"Label": "Fleet Orders"
							},
							{
								"Value": "ShowWaypoints",
								"Label": "Waypoints"
							}
						],
						"SelectedValues": []
					}
					]
				},
				{
					"Type": "Collapsible",
					"Id": "sv_display_section_survey",
					"Title": "Survey & Info",
					"IsExpanded": true,
					"HeaderActions": [
						{
							"Type": "Button",
							"Style": "primary",
							"Text": "All",
							"Command": "core.system_view.set_display_group",
							"CommandPayload": {
								"group": "survey",
								"action": "all"
							},
							"Classes": [
								"ps-btn--sm"
							]
						},
						{
							"Type": "Button",
							"Style": "primary",
							"Text": "None",
							"Command": "core.system_view.set_display_group",
							"CommandPayload": {
								"group": "survey",
								"action": "none"
							},
							"Classes": [
								"ps-btn--sm"
							]
						}
					],
					"Children": [
						{
							"Type": "CheckGroup",
						"Id": "sv_display_survey_group",
						"Orientation": "Vertical",
						"IsCompact": true,
						"Command": "core.system_view.toggle_display_setting",
						"Items": [
							{
								"Value": "ShowGeoPoints",
								"Label": "Survey Points"
							},
							{
								"Value": "ShowSurveyLocations",
								"Label": "Survey Locations"
							},
							{
								"Value": "ShowSurveyedBodies",
								"Label": "Surveyed Bodies"
							},
							{
								"Value": "ShowCoordinates",
								"Label": "Coordinates"
							},
							{
								"Value": "ShowMineralConc",
								"Label": "Mineral Concentrations"
							}
						],
						"SelectedValues": []
					}
					]
				},
				{
					"Type": "Collapsible",
					"Id": "sv_display_section_sensors",
					"Title": "Passive Sensor Ranges",
					"IsExpanded": true,
					"HeaderActions": [
						{
							"Type": "Button",
							"Style": "primary",
							"Text": "All",
							"Command": "core.system_view.set_display_group",
							"CommandPayload": {
								"group": "sensors",
								"action": "all"
							},
							"Classes": [
								"ps-btn--sm"
							]
						},
						{
							"Type": "Button",
							"Style": "primary",
							"Text": "None",
							"Command": "core.system_view.set_display_group",
							"CommandPayload": {
								"group": "sensors",
								"action": "none"
							},
							"Classes": [
								"ps-btn--sm"
							]
						}
					],
					"Children": [
						{
							"Type": "CheckGroup",
							"Id": "sv_display_sensor_group",
							"Orientation": "Vertical",
							"IsCompact": true,
							"Command": "core.system_view.toggle_display_setting",
							"Items": [
								{
									"Value": "ShowPassiveThermal10",
									"Label": "Thermal 10"
								},
								{
									"Value": "ShowPassiveThermal100",
									"Label": "Thermal 100"
								},
								{
									"Value": "ShowPassiveThermal1000",
									"Label": "Thermal 1,000"
								},
								{
									"Value": "ShowPassiveThermal10000",
									"Label": "Thermal 10,000"
								},
								{
									"Value": "ShowPassiveEM10",
									"Label": "EM 10"
								},
								{
									"Value": "ShowPassiveEM100",
									"Label": "EM 100"
								},
								{
									"Value": "ShowPassiveEM1000",
									"Label": "EM 1,000"
								},
								{
									"Value": "ShowPassiveEM10000",
									"Label": "EM 10,000"
								},
								{
									"Value": "ShowPassiveELINT10",
									"Label": "ELINT 10"
								},
								{
									"Value": "ShowPassiveELINT100",
									"Label": "ELINT 100"
								},
								{
									"Value": "ShowPassiveELINT1000",
									"Label": "ELINT 1,000"
								},
								{
									"Value": "ShowPassiveELINT10000",
									"Label": "ELINT 10,000"
								}
							],
							"SelectedValues": []
						}
					]
				}
			]
		},
		{
			"Type": "StackPanel",
			"Id": "sv_side_misc",
			"IsVisible": false,
			"Orientation": "Vertical",
			"Gap": 6,
			"Children": [
				{
					"Type": "Label",
					"Text": "Miscellaneous",
					"Classes": [
						"ps-section-title"
					]
				},
				{
					"Type": "Label",
					"Text": "Name themes, deep space population toggles, and other miscellaneous settings.",
					"Classes": [
						"ps-text--muted"
					]
				},
				{
					"Type": "Button",
					"Id": "sv_misc_reset_btn",
					"Text": "Reset Display Options to Defaults",
					"Command": "core.system_view.reset_display_defaults",
					"Classes": [
						"ps-btn--sm"
					]
				}
			]
		},
		{
			"Type": "Modal",
			"Id": "sv_display_delete_preset_modal",
			"Title": "Delete Preset",
			"IsVisible": false,
			"CloseOnEscape": true,
			"CloseOnBackdropClick": true,
			"CloseCommand": "core.system_view.cancel_delete_display_preset",
			"DefaultCommand": "core.system_view.confirm_delete_display_preset",
			"Size": "Small",
			"BadgeText": "Warning",
			"BadgeVariant": "warn",
			"AccentVariant": "Warning",
			"DisplayMode": "Glow",
			"Children": [
				{ "Type": "Label", "Id": "sv_display_delete_preset_message", "Text": "", "Classes": [ "ps-modal-message" ] }
			],
			"FooterChildren": [
				{
					"Type": "StackPanel",
					"Orientation": "Horizontal",
					"Gap": 8,
					"HorizontalAlignment": "Right",
					"Children": [
						{ "Type": "Button", "Id": "sv_display_delete_preset_confirm_btn", "Text": "Delete", "Command": "core.system_view.delete_display_preset", "Style": "danger" },
						{ "Type": "Button", "Id": "sv_display_delete_preset_cancel_btn", "Text": "Cancel", "Command": "core.system_view.cancel_delete_display_preset", "Style": "ghost" }
					]
				}
			]
		}
	]
}
