<!-- PRE-GENERATED (design session). Raw Equalizer APO command entry (Peace-style power tool). -->
<ui:FluentWindow x:Class="DansoriEQ.App.CommandWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml"
        Title="APO 명령 입력" Height="500" Width="580"
        WindowStartupLocation="CenterOwner"
        ExtendsContentIntoTitleBar="True" WindowBackdropType="Mica"
        Background="#1B1B1F" Foreground="#F2F3F5"
        FontFamily="Segoe UI Variable, Segoe UI">
    <Window.Resources>
        <SolidColorBrush x:Key="Card"    Color="#26262B"/>
        <SolidColorBrush x:Key="Stroke"  Color="#3A3A42"/>
        <SolidColorBrush x:Key="TextDim" Color="#A8ABB4"/>
        <SolidColorBrush x:Key="TextMute" Color="#767A83"/>
    </Window.Resources>

    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <ui:TitleBar Grid.Row="0" Title="APO 명령 입력" Foreground="#F2F3F5" Padding="14,6"/>

        <Border Grid.Row="1" Style="{StaticResource NeonPopup}">
    <DockPanel Margin="20">
        <TextBlock DockPanel.Dock="Top" Text="Equalizer APO 명령 직접 입력" FontSize="16" FontWeight="Bold" Margin="0,0,0,6"/>
        <TextBlock DockPanel.Dock="Top" Foreground="{StaticResource TextDim}" FontSize="12" TextWrapping="Wrap" Margin="0,0,0,12"
                   Text="예: 'Preamp: -3 dB', 'Filter: ON PK Fc 1000 Hz Gain 2 dB Q 1', 'Copy: L=R R=L'. 한 줄에 하나씩 입력하세요."/>

        <StackPanel DockPanel.Dock="Bottom" Orientation="Horizontal" HorizontalAlignment="Right" Margin="0,12,0,0">
            <Button Content="적용" Click="Apply_Click" Height="36" Padding="18,0" Margin="0,0,8,0"
                    Background="#4CC2FF" Foreground="#04222F" FontWeight="Bold" BorderThickness="0"/>
            <Button Content="닫기" Click="Close_Click" Height="36" Padding="18,0"
                    Background="{StaticResource Card}" Foreground="{StaticResource TextDim}" BorderBrush="{StaticResource Stroke}"/>
        </StackPanel>

        <TextBlock x:Name="TxtStatus" DockPanel.Dock="Bottom" Foreground="{StaticResource TextMute}" FontSize="11" Margin="0,10,0,0"/>

        <TextBox x:Name="Editor" AcceptsReturn="True" AcceptsTab="True" VerticalScrollBarVisibility="Auto"
                 FontFamily="Consolas, monospace" FontSize="13" Padding="10"
                 Background="{StaticResource Card}" Foreground="#F2F3F5" BorderBrush="{StaticResource Stroke}"/>
    </DockPanel>
    </Border>
    </Grid>
</ui:FluentWindow>
