
        :root {
            --primary: rgba(3, 46, 77, 0.96);
            --background: #ffffff;
            --panels: #f8f9fa;
            --borders: #dee2e6;
            --text: #212529;
            --secondary: #6c757d;
            --success: #198754;
            --warning: #ffc107;
            --danger: #dc3545;
            --bg-workspace: #f8f9fa;
            --bg-card: #ffffff;
            --border-color: #e3e6f0;
        }

        body {
            background-color: var(--bg-workspace);
            font-family: system-ui, -apple-system, sans-serif;
        }

        .main-header {
            background: #fff;
            border-bottom: 1px solid var(--border-color);
        }

        .workspace-container {
            min-height: calc(100vh - 60px);
        }

        .preview-pane {
            background-color: #eaeaea;
            position: relative;
            min-height: 400px;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            border: 1px solid var(--border-color);
            border-radius: 8px;
        }

        .preview-frame-wrapper {
            transition: transform .2s;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        iframe.preview-iframe {
            width: 100%;
            height: 350px;
            border: none;
            background: transparent;
            transition: width .3s;
        }

        .grid-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            pointer-events: none;
            background-size: 20px 20px;
            background-image: linear-gradient(to right, rgba(0,0,0,.05) 1px, transparent 1px), linear-gradient(to bottom, rgba(0,0,0,.05) 1px, transparent 1px);
        }

        .editor-textarea {
            font-family: 'Courier New', Courier, monospace;
            font-size: 13px;
            resize: none;
            height: 180px;
        }

        .preset-card {
            cursor: pointer;
            transition: transform .2s, border-color .2s;
            border: 2px solid transparent;
            background: #f8f9fa;
        }

        .preset-card:hover {
            transform: translateY(-2px);
        }

        .preset-card.active {
            border-color: var(--primary);
            background: #fff;
        }

        .preset-preview {
            width: 60px;
            height: 60px;
            margin: 0 auto;
            background-color: #fff;
        }

        .loading-spinner-wrapper {
            position: absolute;
            top: 15px;
            right: 15px;
            z-index: 10;
            opacity: 0;
            transition: opacity .2s;
            pointer-events: none;
        }

        .loading-spinner-wrapper.active {
            opacity: 1;
        }

        .property-info-table {
            font-size: 13px;
            width: 100%;
        }

        .property-info-table td {
            padding: 4px 8px;
        }

        .property-info-table tr td:first-child {
            font-weight: 600;
            color: #6c757d;
            width: 30%;
        }
    