/**
 * Theme Name: Carbon
 * Description: Custom Black/Green theme with seamless generator integration.
 * Version: 1.0.0
 */

/* --- CORE BLACK/GREEN AESTHETIC --- */

html {
    /* Ensures height fills viewport for reliable layout */
    height: 100%; 
    overflow-x: hidden;
}

body {
    background-color: #000000; /* Solid Black Background */
    color: #00ff00;            /* Bright Green Text */
    font-family: monospace, sans-serif;
    line-height: 1.6;
    margin: 0 !important;
    padding: 0 !important;
    height: auto;
    overflow-y: scroll; /* Ensures scrolling is available */
    display: block; 
}

/* --- HEADER HIDING (Aggressive Fix) --- */

/* CRITICAL: Hides the site header, logo, navigation, and content wrapper on the front page */
.home #site-header,
.home #content-container > .site-branding,
.home #site-navigation {
    display: none !important; 
    height: 0 !important;
    visibility: hidden !important;
}

/* --- MAIN CONTENT FLOW --- */
#page {
    /* Ensures content flows naturally and horizontally centers the wrapper below */
    display: block;
    padding: 20px; 
    max-width: 1200px;
    margin: 0 auto; 
}

/* Generator Wrapper Styling */
.generator-wrapper {
    /* Ensures the wrapper fits the flow and centers itself */
    width: 100%;
    padding: 20px 0;
}

/* --- BORDER REMOVALS (The Green Line Fix) --- */

/* Removes borders from the shortcode container and related elements */
#comfyui-generator-form-container, 
.comfyui-output,
.comfyui-output img {
    border: none !important;
    box-shadow: none !important;
    background-color: transparent !important;
}

/* Ensures the form elements maintain the aesthetic without being boxed */
#comfyui-generator-form-container {
    padding: 0;
    margin: 0 auto; /* Center the form block horizontally */
    max-width: 600px; 
}

/* Ensure form elements and button match aesthetic */
#comfyui-generator-form-container textarea,
#comfyui-generator-form-container input[type="text"] {
    background-color: #001100;
    color: #00ff00;
    border: 1px solid #009900;
}

#comfyui-generator-form-container input[type="submit"] {
    background-color: #00ff00;
    color: #000000;
    border: none;
    font-weight: bold;
}
```eof

---

### 2. Updated `front-page.php` (Minimal Structure)

This file remains the clean structure required for the borderless styling of the generator shortcode.

```php:Carbon Theme Front Page Template:front-page.php
<?php
/**
 * The template for displaying the static front page.
 *
 * This file is automatically used when a static page is set as the homepage.
 *
 * @package Carbon
 */

get_header();
?>

    <main id="front-page-content" class="site-main">

        <section class="generator-wrapper">
            <?php 
            // Renders the ComfyUI Image Generator form and output.
            echo do_shortcode( '[comfyui_generator]' ); 
            ?>
        </section>
        </main><?php
get_footer();
```eof
