
        .qf-hero {
            background: linear-gradient(135deg, #0b3d28 0%, #0d6f3e 65%, #1a8a50 100%);
            padding: 26px 30px 22px;
            margin-bottom: 26px;
            position: relative;
            overflow: hidden;
            border-radius: 0 0 14px 14px;
        }

        .qf-hero::before {
            content: '';
            position: absolute;
            right: -20px;
            top: -40px;
            width: 180px;
            height: 180px;
            background: rgba(218, 165, 32, 0.13);
            border-radius: 50%;
            pointer-events: none;
        }

        .qf-hero::after {
            content: '';
            position: absolute;
            right: 60px;
            bottom: -50px;
            width: 120px;
            height: 120px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 50%;
            pointer-events: none;
        }

        .qf-hero h1 {
            color: #fff;
            font-size: 1.45rem;
            font-weight: 800;
            margin: 0 0 5px;
            letter-spacing: -0.3px;
        }

        .qf-hero p {
            color: rgba(255, 255, 255, 0.78);
            margin: 0;
            font-size: 0.88rem;
        }

        .qf-hero h1 .qf-icon-gold {
            color: #DAA520;
            margin-right: 8px;
        }

        /* ── Summary Card ── */
        .qf-summary-card {
            background: #fff;
            border-radius: 12px;
            border: 2px solid #0d6f3e;
            overflow: hidden;
            margin-bottom: 22px;
            box-shadow: 0 6px 22px rgba(13, 111, 62, 0.13);
            animation: qfFadeIn .3s ease;
        }

        @keyframes qfFadeIn {
            from {
                opacity: 0;
                transform: translateY(-6px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .qf-summary-header {
            background: linear-gradient(90deg, #0b3d28, #0d6f3e);
            padding: 11px 18px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .qf-summary-title {
            color: #fff;
            font-weight: 700;
            font-size: 0.92rem;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .qf-summary-title .fa-circle-check {
            color: #DAA520;
            font-size: 1rem;
        }

        .qf-edit-btn {
            background: #DAA520;
            color: #fff;
            border: none;
            padding: 6px 16px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 700;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 6px;
            transition: background .2s, transform .15s;
            white-space: nowrap;
            flex-shrink: 0;
        }

        .qf-edit-btn:hover {
            background: #b8860b;
            transform: scale(1.04);
        }

        .qf-summary-items {
            display: flex;
            flex-wrap: wrap;
            padding: 16px 18px 14px;
            gap: 12px;
        }

        .qf-summary-item {
            display: flex;
            align-items: center;
            gap: 12px;
            flex: 1 1 180px;
            background: linear-gradient(135deg, #f0faf5, #e6f7ee);
            border: 1px solid #b8dfc9;
            border-radius: 10px;
            padding: 11px 14px;
        }

        .qf-summary-icon {
            width: 38px;
            height: 38px;
            background: linear-gradient(135deg, #0b3d28, #0d6f3e);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            box-shadow: 0 2px 8px rgba(13, 111, 62, 0.25);
        }

        .qf-summary-icon i {
            color: #fff;
            font-size: 0.85rem;
        }

        .qf-summary-detail {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }

        .qf-summary-label {
            font-size: 0.67rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.9px;
            color: #6a9e7e;
        }

        .qf-summary-value {
            font-size: 0.9rem;
            font-weight: 700;
            color: #0b3d28;
            line-height: 1.3;
        }

        /* ── Plain Fields (no-params state) ── */
        .qf-plain-fields {
            background: #f3fbf7;
            border: 1.5px solid #b8dfc9;
            border-radius: 12px;
            padding: 18px 22px 10px;
            margin-bottom: 20px;
        }

        /* ── Edit / Fields Panel (prefilled state, toggled by JS) ── */
        .qf-fields-panel {
            background: #f3fbf7;
            border: 1.5px solid #b8dfc9;
            border-radius: 12px;
            padding: 18px 22px 10px;
            margin-bottom: 20px;
            /* NO animation here – animation is added by JS class when sliding in */
            display: none;
            /* always starts hidden; JS shows it */
        }

        .qf-fields-panel.qf-panel-open {
            display: block;
            animation: qfFadeIn .25s ease forwards;
        }

        .qf-fields-panel-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 18px;
            padding-bottom: 12px;
            border-bottom: 1px dashed #b8dfc9;
        }

        .qf-fields-panel-title {
            font-size: 0.88rem;
            font-weight: 700;
            color: #0b3d28;
            display: flex;
            align-items: center;
            gap: 7px;
        }

        .qf-fields-panel-title .fa-pen-to-square {
            color: #DAA520;
        }

        .qf-cancel-btn {
            background: transparent;
            color: #888;
            border: 1.5px solid #ccc;
            padding: 4px 14px;
            border-radius: 20px;
            font-size: 0.78rem;
            cursor: pointer;
            transition: all .2s;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .qf-cancel-btn:hover {
            border-color: #0d6f3e;
            color: #0d6f3e;
        }

        /* ── Options Section ── */
        .qf-options-section {
            background: #fff;
            border: 1.5px solid #daeee4;
            border-radius: 12px;
            padding: 18px 22px 10px;
            margin-bottom: 20px;
        }

        .qf-section-label {
            font-size: 0.72rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: #6a9e7e;
            margin-bottom: 16px;
            display: flex;
            align-items: center;
            gap: 7px;
        }

        .qf-section-label::after {
            content: '';
            flex: 1;
            height: 1px;
            background: #cceadb;
        }

        /* ── Form fields ── */
        .qf-redesigned .form-group {
            margin-bottom: 18px;
        }

        .qf-redesigned .form-group label {
            font-size: 0.78rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.6px;
            color: #0b3d28;
            margin-bottom: 6px;
            display: block;
        }

        .qf-redesigned .form-group .form-control,
        .qf-redesigned .form-group .form-select {
            border: 1.5px solid #aed6bc;
            border-radius: 8px;
            background: #fff;
            min-height: 44px;
            font-size: 0.92rem;
            color: #333;
            transition: border-color .2s, box-shadow .2s;
            box-shadow: none !important;
        }

        .qf-redesigned .form-group .form-control:focus,
        .qf-redesigned .form-group .form-select:focus {
            border-color: #0d6f3e;
            box-shadow: 0 0 0 3px rgba(13, 111, 62, 0.12) !important;
            outline: none;
        }

        .qf-redesigned .form-group:hover label {
            color: #0d6f3e;
        }

        .qf-redesigned .form-group:hover .form-control,
        .qf-redesigned .form-group:hover .form-select {
            border-color: #0d6f3e;
        }

        /* ── Submit Button ── */
        .qf-submit-btn {
            display: block;
            width: 100%;
            background: linear-gradient(135deg, #0b3d28 0%, #0d6f3e 100%);
            color: #fff;
            border: none;
            padding: 14px 20px;
            border-radius: 8px;
            font-size: 1rem;
            font-weight: 700;
            letter-spacing: 0.5px;
            cursor: pointer;
            transition: all .25s;
            box-shadow: 0 4px 16px rgba(13, 111, 62, 0.3);
        }

        .qf-submit-btn:hover {
            background: linear-gradient(135deg, #082d1e 0%, #0b5c34 100%);
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(13, 111, 62, 0.4);
        }

        .qf-submit-btn i {
            margin-right: 7px;
        }

        /* ── Sidebar ── */
        .qf-sidebar-card {
            background: #fff;
            border-radius: 12px;
            border: 1.5px solid #cce8d8;
            overflow: hidden;
            box-shadow: 0 3px 14px rgba(13, 111, 62, 0.09);
        }

        .qf-sidebar-card-header {
            background: linear-gradient(90deg, #0b3d28, #0d6f3e);
            padding: 13px 18px;
            color: #fff;
            font-weight: 700;
            font-size: 0.95rem;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .qf-sidebar-card-header .fa-star {
            color: #DAA520;
        }

        .qf-review-item {
            padding: 14px 18px;
            border-bottom: 1px solid #eaf4ee;
            transition: background .15s;
        }

        .qf-review-item:last-child {
            border-bottom: none;
        }

        .qf-review-item:hover {
            background: #f3fbf7;
        }

        .qf-review-item-title {
            font-weight: 700;
            font-size: 0.87rem;
            color: #0b3d28;
            margin-bottom: 5px;
            line-height: 1.35;
        }

        .qf-review-item-title a {
            color: #DAA520;
            text-decoration: none;
        }

        .qf-review-item-title a:hover {
            text-decoration: underline;
        }

        .qf-review-item-body {
            font-size: 0.82rem;
            color: #555;
            line-height: 1.55;
            margin-bottom: 7px;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .qf-review-item-meta {
            display: flex;
            justify-content: space-between;
            font-size: 0.74rem;
            color: #999;
            font-style: italic;
        }

        .qf-review-item-meta span:first-child {
            font-weight: 600;
            color: #6a9e7e;
            font-style: normal;
        }

        /* Responsive */
        @media (max-width: 767px) {
            .qf-summary-items {
                flex-direction: column;
            }

            .qf-hero {
                padding: 18px 16px 16px;
            }

            .qf-hero h1 {
                font-size: 1.2rem;
            }

            .qf-fields-panel,
            .qf-options-section {
                padding: 14px 14px 8px;
            }
        }

        /* ══════════════════════════════════════════════════
           LIVE PRICE BREAKDOWN PANEL
        ══════════════════════════════════════════════════ */
        .qf-live-price-panel {
            background: #fff;
            border: 2px solid #0d6f3e;
            border-radius: 12px;
            overflow: hidden;
            margin-bottom: 20px;
            box-shadow: 0 6px 24px rgba(13, 111, 62, 0.14);
            animation: qfFadeIn .35s ease;
        }

        .qf-pb-header-bar {
            background: linear-gradient(90deg, #0b3d28, #0d6f3e);
            padding: 12px 20px;
            display: flex;
            align-items: center;
            gap: 9px;
            color: #fff;
            font-weight: 700;
            font-size: 0.92rem;
        }

        .qf-pb-header-bar .qf-icon-gold { color: #DAA520; font-size: 1rem; }

        .qf-pb-updating {
            margin-left: auto;
            font-size: 0.78rem;
            font-weight: 400;
            opacity: .85;
        }

        .qf-price-error {
            background: #fff3cd;
            border-left: 4px solid #ffc107;
            color: #856404;
            padding: 12px 18px;
            font-size: 0.87rem;
            border-radius: 0 0 8px 8px;
        }

        /* ── Inner property header ── */
        .qf-pb-inner { padding: 18px 20px 6px; }

        .qf-pb-prop-header {
            display: flex;
            flex-wrap: wrap;
            align-items: baseline;
            gap: 8px;
            margin-bottom: 14px;
            padding-bottom: 12px;
            border-bottom: 1px dashed #cce8d8;
        }

        .qf-pb-prop-title {
            font-size: 1rem;
            /* font-weight: 800; */
            color: #0b3d28;
            text-decoration: none;
        }

        .qf-pb-prop-title:hover { text-decoration: underline; color: #0d6f3e; }

        .qf-pb-prop-dates {
            font-size: 0.82rem;
            color: #6a9e7e;
            margin-left: auto;
        }

        .qf-pb-prop-dates strong { color: #0b3d28; }

        /* ── Price list ── */
        .qf-pb-list {
            list-style: none;
            margin: 0;
            padding: 0 0 6px;
        }

        .qf-pb-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 8px 0;
            border-bottom: 1px solid #f0f7f3;
            font-size: 0.9rem;
            color: #444;
        }

        .qf-pb-item:last-child { border-bottom: none; }

        .qf-pb-item .qf-pb-name { flex: 1; padding-left: 4px; }

        .qf-pb-item .qf-pb-value {
            font-weight: 600;
            color: #0b3d28;
            min-width: 90px;
            text-align: right;
            padding-right: 4px;
        }

        .qf-pb-item.qf-pb-discount .qf-pb-value { color: #28a745; }

        .qf-pb-value.qf-pb-waived {
            color: #28a745;
            font-weight: 700;
            font-size: 0.8rem;
            letter-spacing: .5px;
        }

        .qf-pb-item.qf-pb-subtotal {
            background: #f0faf5;
            border-radius: 6px;
            padding: 9px 6px;
            margin: 4px 0;
            font-weight: 700;
        }

        .qf-pb-item.qf-pb-total {
            background: linear-gradient(90deg, #0b3d28, #0d6f3e);
            border-radius: 8px;
            padding: 11px 6px;
            margin: 8px 0 4px;
            /* font-weight: 800; */
            /* font-size: 0.97rem; */
        }

        .qf-pb-item.qf-pb-total .qf-pb-name,
        .qf-pb-item.qf-pb-total .qf-pb-value { color: #fff; }

        .qf-pb-item.qf-pb-due {
            font-weight: 700;
            font-style: italic;
            color: #0b3d28;
            background: #f3fbf7;
            border-radius: 6px;
            padding: 8px 6px;
            margin: 3px 0;
        }

        .qf-pb-item.qf-pb-due .qf-pb-value { color: #2087da; }

        /* ── Note row ── */
        .qf-pb-note {
            font-size: 0.75rem;
            color: #888;
            font-style: italic;
            padding: 8px 4px 4px;
            border-top: 1px dashed #e0f0e8;
            margin-top: 6px;
        }

        /* ══════════════════════════════════════════════════
           INLINE EMAIL SECTION
        ══════════════════════════════════════════════════ */
        .qf-email-section {
            background: #f3fbf7;
            border: 1.5px solid #b8dfc9;
            border-radius: 12px;
            overflow: hidden;
            margin-bottom: 20px;
        }

        .qf-email-section .qf-pb-header-bar { border-radius: 0; }

        .qf-email-inner { padding: 18px 22px 16px; }

        .qf-email-success {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 18px 22px;
            color: #0b5c34;
            font-weight: 700;
            font-size: 0.97rem;
            background: #d4edda;
            border-top: 2px solid #0d6f3e;
        }

        .qf-email-success i { font-size: 1.4rem; color: #0d6f3e; }
        .qf-options-section .form-group {
                margin-bottom: 10px;
            }

        @media (max-width: 767px) {
            .qf-pb-inner { padding: 14px 14px 6px; }
            .qf-email-inner { padding: 14px 14px 12px; }
            .qf-pb-prop-dates { margin-left: 0; }
            .qf-summary-item{
                flex: 1 1 65px;
            }

        }
