        /* ===== ГЕНЕРАТОР (из index_1) ===== */
        .gen-panel {
            background: #111;
            border: 1px solid #222;
            border-radius: 14px;
            padding: 1.5rem;
            margin-bottom: 2rem;
        }
        .gen-panel h3 {
            color: #f77f00;
            margin-bottom: 1.5rem;
            font-weight: 600;
        }
        .gen-result {
            background: #0b0b0b;
            border: 1px solid #1a1a1a;
            border-radius: 10px;
            padding: 1rem;
            margin-top: 0.5rem;
            font-size: 0.85rem;
            color: #aaa;
            white-space: pre-wrap;
            max-height: 350px;
            overflow-y: auto;
        }
        .gen-result strong {
            color: #f77f00;
        }
        .gen-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 0.8rem;
            margin-top: 0.8rem;
        }
        .grid-2 {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0.8rem;
        }
        .gen-section-title {
            color: #888;
            font-weight: 500;
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 0.03em;
            margin: 1.2rem 0 0.6rem;
            border-top: 1px solid #1a1a1a;
            padding-top: 0.8rem;
        }
        .gen-section-title:first-of-type { border-top: none; padding-top: 0; }
        .gen-label {
            color: #888;
            font-size: 0.65rem;
            text-transform: uppercase;
            display: block;
            margin-bottom: 0.2rem;
        }
        .gen-panel input[type="text"],
        .gen-panel input[type="date"],
        .gen-panel select {
            width: 100%;
            background: #0b0b0b;
            border: 1px solid #2a2a2a;
            color: #eee;
            padding: 0.4rem 0.7rem;
            border-radius: 8px;
        }
        body.gen-type-legal .gen-only-individual { display: none; }
        body.gen-type-individual .gen-only-legal { display: none; }

        /* ===== Документ-превью (визуально повторяет бланк ФССП) ===== */
        .gen-result-wrap {
            background: #1c1c1c;
            border-radius: 10px;
            padding: 1.2rem;
            margin-top: 0.5rem;
            max-height: 640px;
            overflow-y: auto;
        }
        .gen-doc {
            background: #fff;
            color: #111;
            font-family: "Times New Roman", Times, serif;
            font-size: 13px;
            line-height: 1.45;
            width: 210mm;
            max-width: 100%;
            min-height: 297mm;
            margin: 0 auto;
            padding: 15mm 12mm;
            box-sizing: border-box;
            box-shadow: 0 0 12px rgba(0,0,0,0.4);
        }
        .gen-doc-placeholder {
            color: #888;
            font-family: Arial, sans-serif;
            text-align: center;
            padding: 3rem 0;
        }
        .gen-doc-top {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 1rem;
            margin-bottom: 1rem;
        }
        .gen-doc-barcode img { display: block; height: 46px; }
        .gen-doc-barcode-num {
            text-align: center;
            font-size: 11px;
            letter-spacing: 2px;
        }
        .gen-doc-header {
            text-align: right;
            font-weight: 700;
        }
        .gen-doc-header .gen-doc-header-addr {
            font-weight: 400;
            font-size: 12px;
        }
        .gen-doc-notice {
            font-weight: 700;
            margin: 0.3rem 0;
        }
        .gen-doc-title {
            text-align: center;
            font-weight: 700;
            letter-spacing: 0.5em;
            margin: 1.6rem 0 1.2rem;
            font-size: 15px;
        }
        .gen-doc-body p {
            text-align: justify;
            margin: 0 0 0.9rem;
        }
        .gen-doc-body p.gen-doc-indent {
            text-indent: 2.5em;
        }
        .gen-doc-sign {
            margin-top: 2.5rem;
            display: flex;
            justify-content: space-between;
        }
        .gen-doc-sign-left { font-size: 12px; padding-top: 1.4rem; }
        .gen-doc-sign-right { text-align: center; }
        .gen-doc-sign-line {
            border-top: 1px solid #111;
            width: 160px;
            margin-bottom: 0.2rem;
        }
        .gen-doc-sign-name { font-weight: 700; text-align: right; margin-bottom: 0.3rem; }
        .gen-doc-footer { margin-top: 2.5rem; }
        @media print {
            .gen-doc { box-shadow: none; }
        }