        /* ══════════════════════════════════════════
           WIZARD SCREEN
           ══════════════════════════════════════════ */
        .stepper-bar {
            background: #FFFFFF; border-bottom: 1px solid #E6EAEC;
            padding: 0px 24px; display: flex; flex-direction: row; align-items: center;
            gap: 12px; height: 55px; align-self: stretch; flex-shrink: 0;
        }
        .stepper-row { display: flex; align-items: center; gap: 20px; margin-left: auto; flex-wrap: nowrap; min-width: 0; }
        .step-item { display: flex; flex-direction: row; align-items: center; gap: 10px; cursor: default; padding: 0; }
        .step-circle {
            width: 35px; height: 35px; border-radius: 200px; display: flex; align-items: center; justify-content: center;
            font-size: 13px; font-weight: 700;
            background: transparent; color: #E6EAEC; border: 2px solid #E6EAEC;
            transition: all 0.2s; flex-shrink: 0;
        }
        .step-item.active .step-circle { background: #4695E1; color: #FFFFFF; border-color: #4695E1; box-shadow: 0 0 0 4px rgba(70,149,225,0.2); opacity: 0.5; }
        .step-item.done .step-circle { background: #4695E1; color: #FFFFFF; border-color: #4695E1; }
        .step-label { font-size: 12px; color: #81959E; font-weight: 500; white-space: nowrap; }
        .step-item.active .step-label { color: #4695E1; font-weight: 600; }
        .step-item.done .step-label { color: #243A44; font-weight: 500; }

        .wizard-bottom { flex: 1; display: flex; overflow: hidden; container-type: inline-size; container-name: wizcard; }
        .wizard-chat { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
        .wizard-msgs {
            flex: 1; overflow-y: auto; padding: 20px 24px;
            background: var(--background); display: flex; flex-direction: column; gap: 12px;
        }
        /* Form-style wizard */
        .wiz-form-area {
            flex: 1; display: flex; flex-direction: column;
            padding: 24px 28px; gap: 16px; overflow-y: auto;
            background: #F5F7F9;
        }
        .wiz-form-card {
            background: #FFFFFF; border: 1px solid #E6EAEC;
            border-radius: 12px; padding: 32px 36px; position: relative;
            flex: 1; min-height: 0;
        }
        /* Step name shown in summary when stepper labels are hidden — matches .step-label exactly */
        .wiz-sum-step-label { display: none; font-size: 12px; font-weight: 500; color: #81959E; white-space: nowrap; text-transform: none; }
        /* Hide stepper labels before the 7-step row can overflow; reveal step names in the summary instead */
        @container wizcard (max-width: 1320px) {
            .wiz-form-card .stepper-row { gap: 10px; }
            .wiz-form-card .stepper-row .step-label { display: none; }
            .wiz-sum-step-label { display: inline-block; }
        }
        @container wizcard (max-width: 780px) {
            .wiz-form-card .stepper-row { gap: 6px; }
            .wiz-form-card .step-circle { width: 28px; height: 28px; font-size: 12px; }
        }
        .wiz-form-step-title {
            font-size: 18px; font-weight: 700; color: #243A44; margin-bottom: 6px;
        }
        .wiz-form-step-sub {
            font-size: 14px; color: #81959E; margin-bottom: 28px; line-height: 1.5;
        }
        .wiz-nav-row {
            display: flex; align-items: center; flex-shrink: 0;
        }
        .wiz-nav-row .ak-btn { height: 44px; }
        .ai-msg { display: flex; gap: 12px; }
        .ai-avatar {
            width: 36px; height: 36px; border-radius: 999px; background: rgba(70,149,225,0.12);
            display: flex; align-items: center; justify-content: center; flex-shrink: 0;
        }
        .ai-avatar .material-symbols-rounded { font-size: 18px; color: #4695E1; }
        .ai-bubble {
            background: #FFFFFF; border: 1px solid #E6EAEC; border-radius: 8px 8px 8px 4px;
            padding: 16px; display: flex; flex-direction: column; gap: 12px; flex: 1;
            box-shadow: 0 1px 3px rgba(36,58,68,0.08);
        }
        .ai-bubble-text { font-family: 'Inter', sans-serif; font-size: 14px; color: #243A44; line-height: 1.5; text-wrap: balance; }
        .user-msg { display: flex; justify-content: flex-end; }
        .user-bubble {
            background: #4695E1; color: #FFFFFF; border-radius: 8px 8px 4px 8px;
            padding: 12px 16px; font-size: 14px; max-width: 70%; font-weight: 500;
        }

        /* Wizard Type Cards */
        .wiz-type-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
        .wiz-type-card {
            display: flex; flex-direction: row; align-items: center; gap: 12px; padding: 14px 16px;
            background: #FFFFFF; border: 1px solid #E6EAEC; border-radius: 8px;
            cursor: pointer; transition: all 0.15s;
        }
        .wiz-type-card:hover { border-color: #4695E1; background: rgba(70,149,225,0.04); box-shadow: 0 1px 3px rgba(36,58,68,0.08); }
        .wiz-type-card.selected { border-color: #4695E1; background: rgba(70,149,225,0.06); }
        .wiz-type-icon {
            width: 36px; height: 36px; border-radius: 999px;
            display: flex; align-items: center; justify-content: center; flex-shrink: 0;
        }
        .wiz-type-icon .material-symbols-rounded { font-size: 18px; }
        .wiz-type-info { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; flex: 1; min-width: 0; }
        .wiz-type-name { font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 500; color: #243A44; line-height: 100%; }
        .wiz-type-desc { font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 500; color: #81959E; line-height: 100%; }

        /* Wizard Chips (multi-select) */
        .wiz-chips { display: flex; flex-wrap: wrap; gap: 8px; }
        .wiz-chip {
            padding: 8px 16px; border: 1px solid #E6EAEC; border-radius: 4px;
            background: #FFFFFF; font-family: 'Inter', sans-serif; font-size: 14px;
            line-height: 20px; box-sizing: border-box;
            color: #243A44; cursor: pointer; transition: all 0.15s; user-select: none;
            margin: 0; vertical-align: middle;
        }
        button.wiz-chip { font: inherit; font-family: 'Inter', sans-serif; font-size: 14px; line-height: 20px; }
        .wiz-chip .material-symbols-rounded { line-height: 1; display: inline-flex; align-items: center; }
        .wiz-chip:hover { border-color: #4695E1; background: rgba(70,149,225,0.03); }
        .wiz-chip.selected { border-color: #4695E1; color: #4695E1; background: rgba(70,149,225,0.06); }
        .wiz-chip-dashed {
            border-style: dashed !important; border-color: #C8D4D8 !important;
            color: #81959E !important; font-family: 'Inter', sans-serif;
        }
        .wiz-chip-dashed:hover { border-color: #4695E1 !important; color: #4695E1 !important; background: rgba(70,149,225,0.03) !important; }
        .wiz-chip-blue { border-color: rgba(70,149,225,0.4) !important; color: #4695E1 !important; background: rgba(70,149,225,0.06) !important; }
        .wiz-chip-blue:hover { border-color: #4695E1 !important; background: rgba(70,149,225,0.10) !important; }
        .wiz-chip-blue.selected { border-color: #4695E1 !important; color: #4695E1 !important; background: rgba(70,149,225,0.14) !important; font-weight:600; }

        /* Guided Journey blocks */
        .wiz-step {
            background: #FFFFFF; border: 1px solid #E6EAEC; border-radius: 12px;
            padding: 20px 24px; display: flex; flex-direction: column; gap: 14px;
            box-shadow: 0 1px 3px rgba(36,58,68,0.06); position: relative;
        }
        .wiz-step-edit-btn {
            position: absolute; top: 14px; right: 16px;
            display: flex; align-items: center; justify-content: center;
            width: 28px; height: 28px; border-radius: 6px; border: none;
            background: transparent; color: #81959E;
            cursor: pointer; transition: all 0.15s;
        }
        .wiz-step-edit-btn:hover { background: rgba(70,149,225,0.10); color: #4695E1; }
        .wiz-step-edit-btn .material-symbols-rounded { font-size: 18px; }
        .wiz-step-locked { opacity: 0.4; pointer-events: none; filter: grayscale(0.3); transition: opacity 0.2s; }

        /* ── DRAG AND DROP ── */
        .dnd-dragging {
            opacity: 0.4 !important;
            transform: scale(0.97);
            box-shadow: 0 8px 24px rgba(70,149,225,0.18) !important;
            border-color: #4695E1 !important;
            transition: none;
            cursor: grabbing !important;
        }
        .dnd-drag-over-folder {
            border-color: #4695E1 !important;
            background: rgba(70,149,225,0.08) !important;
            box-shadow: 0 0 0 2px rgba(70,149,225,0.35) !important;
            transform: scale(1.02);
            transition: all 0.12s;
        }
        .dnd-drag-over-back {
            background: rgba(70,149,225,0.08) !important;
            border-bottom: 2px solid #4695E1 !important;
        }
        /* Botão da Lixeira como destino de drop — vermelho pra deixar claro
           que é destrutivo (vs. azul das pastas/abas). */
        .dnd-drag-over-trash {
            border-color: #E95050 !important;
            background: rgba(233,80,80,0.10) !important;
            box-shadow: 0 0 0 2px rgba(233,80,80,0.35) !important;
            color: #C62828 !important;
            transform: scale(1.04);
            transition: all 0.12s;
        }
        .dnd-drag-over-trash .material-symbols-rounded {
            color: #E95050 !important;
            transform: scale(1.15);
            transition: transform 0.12s;
        }
        .dnd-ghost {
            position: fixed; pointer-events: none; z-index: 99999;
            background: #FFFFFF; border: 2px solid #4695E1; border-radius: 10px;
            padding: 10px 16px; box-shadow: 0 8px 32px rgba(70,149,225,0.25);
            font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600; color: #243A44;
            display: flex; align-items: center; gap: 8px; white-space: nowrap; max-width: 260px;
            opacity: 0.95;
        }
        .dnd-drop-indicator {
            height: 3px; background: #4695E1; border-radius: 2px;
            margin: 2px 8px; transition: opacity 0.1s;
        }
        .rc-folder-card[draggable="true"] { cursor: grab; }
        .rc-folder-card[draggable="true"]:active { cursor: grabbing; }

        /* ── PROMPT FILTER CHECKBOX LIST ── */
        .pf-checkbox-list { display: flex; flex-direction: column; gap: 0; }
        .pf-cols-row { display: flex; gap: 8px; align-items: flex-start; }
        .pf-col { flex: 1; display: flex; flex-direction: column; border: 1px solid #E6EAEC; border-radius: 4px; min-width: 0; overflow: visible; }
        .pf-checkbox-item {
            display: flex; align-items: center; gap: 10px;
            padding: 9px 14px; cursor: pointer; user-select: none;
            border-bottom: 1px solid #F0F2F4; transition: background 0.12s;
            font-family: 'Inter', sans-serif; font-size: 13px; color: #243A44;
        }
        .pf-checkbox-item:last-child { border-bottom: none; }
        .pf-checkbox-item:hover { background: #F8FAFB; }
        .pf-checkbox-item.checked { background: rgba(70,149,225,0.04); }
        .pf-checkbox-item.pf-preselected span { color: #1A5EA8; font-weight: 600; }
        .pf-checkbox-item input[type="checkbox"] {
            width: 16px; height: 16px; border: 2px solid #D0D5DD; border-radius: 4px;
            cursor: pointer; accent-color: var(--azul-1); flex-shrink: 0;
        }
        /* ── Filter chips no chat — reusa wiz-chip ── */
        .pf-chat-chips { display: flex; flex-wrap: wrap; gap: 8px; }
        .pf-comp-chips { margin-top: 0; margin-bottom: 16px; }
        .pf-filter-section-label {
            font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 600;
            color: #90A4AE; text-transform: uppercase; letter-spacing: 0.6px;
            margin-bottom: 6px; margin-top: 0;
        }

        /* Top sellers section */
        .pf-top-header {
            display: inline-flex; align-items: center; gap: 5px; margin-bottom: 8px;
            font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 700;
            color: #1A6B3C; background: rgba(37,213,128,0.10);
            border: 1px solid rgba(37,213,128,0.25); border-radius: 4px;
            padding: 4px 9px;
        }
        .pf-top-header .material-symbols-rounded { font-size: 13px !important; color: #1A6B3C; }
        .pf-top-section { margin-bottom: 10px; }
        .pf-top-section .pf-col { border-color: rgba(37,213,128,0.30); }
        .pf-rest-toggle {
            display: flex; align-items: center; justify-content: center; gap: 6px;
            width: 100%; margin: 8px 0 4px; box-sizing: border-box;
            font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600;
            color: #4695E1; cursor: pointer; padding: 8px 12px;
            border: 1px dashed #C8DCF0; border-radius: 4px;
            transition: background 0.12s;
        }
        .pf-rest-toggle:hover { background: rgba(70,149,225,0.06); }
        .pf-rest-section .pf-cols-row { margin-top: 6px; }
        .wiz-step-text { font-family: 'Inter', sans-serif; font-size: 14px; color: #243A44; line-height: 1.5; text-wrap: balance; padding-right: 36px; }
        .wiz-step-done {
            display: flex; align-items: center; gap: 10px; padding: 10px 16px;
            background: rgba(37,213,128,0.06); border: 1px solid rgba(37,213,128,0.22);
            border-radius: 8px; font-size: 13px; color: #243A44; position: relative;
        }
        .user-msg { display: none; }
        .user-bubble { display: none; }

        .wiz-chips-actions {
            display: flex; align-items: center; gap: 12px; margin-top: 8px;
        }
        .wiz-chips-actions .confirm-chips-btn {
            padding: 0 20px; height: 40px; border-radius: 4px; border: none;
            background: #25D580; color: #FFFFFF; font-family: 'Inter', sans-serif;
            font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.15s;
        }
        .wiz-chips-actions .confirm-chips-btn:hover { background: #1FC070; }
        .wiz-chips-actions .confirm-chips-btn:disabled {
            background: #E6EAEC; color: #BDBDBD; cursor: not-allowed; box-shadow: none;
        }

        /* Wizard Input */
        .wiz-input-bar {
            background: #FFFFFF; border-top: 1px solid #E6EAEC;
            padding: 12px 16px; display: flex; align-items: center; gap: 8px;
            transition: opacity 0.2s, visibility 0.2s;
        }
        .wiz-input-bar.inactive { opacity: 0.45; pointer-events: none; }
        .wiz-input-bar.hidden { display: none; }
        .wiz-input {
            flex: 1; height: 40px; border-radius: 4px; background: #FFFFFF; border: 1px solid #E6EAEC;
            padding: 0 16px; font-family: 'Inter', sans-serif; font-size: 14px; color: #243A44; outline: none;
            transition: border-color 0.15s;
        }
        .wiz-input:focus { border-color: #4695E1; }
        .wiz-input::placeholder { color: var(--texto-claro); }
        .wiz-date-icon:hover { background: rgba(70,149,225,0.08); color: #4695E1 !important; }
        .wiz-send {
            height: 40px; padding: 0 20px; border-radius: 4px; background: #25D580;
            border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
            color: #FFFFFF; font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600;
            transition: all 0.15s; flex-shrink: 0;
        }
        .wiz-send:hover { background: #1FC070; }

        /* Wizard Summary */
        .wiz-summary {
            width: 280px; background: #FFFFFF; border-left: 1px solid #E6EAEC;
            padding: 20px; display: flex; flex-direction: column; gap: 16px; overflow-y: auto; flex-shrink: 0;
            transition: width 0.22s ease, padding 0.22s ease;
        }
        .wiz-summary.collapsed {
            width: 48px; padding: 12px 0; overflow: hidden; align-items: center;
        }
        .wiz-summary.collapsed .wiz-sum-title,
        .wiz-summary.collapsed #wizSummaryItems {
            display: none;
        }
        .wiz-sum-header { display: flex; align-items: center; justify-content: space-between; }
        .wiz-sum-title { font-family: 'Inter', sans-serif; font-size: 16px; font-weight: 700; color: #243A44; }
        .wiz-sum-toggle {
            width: 28px; height: 28px; border-radius: 6px; border: none; background: transparent;
            display: flex; align-items: center; justify-content: center; cursor: pointer;
            color: #81959E; transition: background 0.15s, color 0.15s; flex-shrink: 0;
        }
        .wiz-sum-toggle:hover { background: rgba(70,149,225,0.08); color: #4695E1; }
        .wiz-sum-collapse-btn {
            position: absolute; right: 0; top: 50%; transform: translateY(-50%);
            width: 20px; height: 48px; border-radius: 6px 0 0 6px; border: 1px solid #E6EAEC; border-right: none;
            background: #FFFFFF; display: flex; align-items: center; justify-content: center;
            cursor: pointer; color: #81959E; transition: background 0.15s, color 0.15s;
        }
        .wiz-sum-collapse-btn:hover { background: rgba(70,149,225,0.08); color: #4695E1; }
        .wiz-sum-item { display: flex; flex-direction: column; gap: 6px; padding: 14px 0; border-radius: 6px; transition: background 0.15s; }
        .wiz-sum-item.clickable { cursor: pointer; padding: 14px 8px; margin: 0 -8px; }
        .wiz-sum-item.clickable:hover { background: rgba(70,149,225,0.05); }
        .step-item.done { cursor: pointer; }
        .step-item.done:hover .step-label { color: #3A85D0; }
        .wiz-sum-row { display: flex; align-items: center; gap: 8px; }
        .wiz-sum-check {
            width: 20px; height: 20px; border-radius: 999px;
            display: flex; align-items: center; justify-content: center; flex-shrink: 0;
            font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 700;
        }
        .wiz-sum-check.done { background: var(--azul-1); color: white; }
        .wiz-sum-check.pending { border: 2px solid #D0D0D0; color: #D0D0D0; }
        .wiz-sum-label { display: none; }
        .wiz-sum-value {
            font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 500;
            color: var(--azul-1); line-height: 1.5;
        }
        .wiz-sum-value.pending { font-weight: 400; color: #BBB; font-style: italic; }
        .wiz-sum-pills { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 2px; }
        .wiz-sum-pill {
            display: inline-flex; align-items: center;
            padding: 2px 9px; border-radius: 4px;
            background: rgba(70,149,225,0.08); border: 1px solid rgba(70,149,225,0.25);
            font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 500; color: #4695E1;
            line-height: 1.6;
        }
        .wiz-sum-pill.filtro { background: rgba(70,149,225,0.08); border-color: rgba(70,149,225,0.25); color: #4695E1; }
        .wiz-sum-pill.quebra { background: rgba(70,149,225,0.08); border-color: rgba(70,149,225,0.25); color: #4695E1; }
        .wiz-sum-pill.ordenacao { background: rgba(70,149,225,0.08); border-color: rgba(70,149,225,0.25); color: #4695E1; }
        .wiz-sum-divider { height: 1px; background: var(--cinza-2); margin: 2px 0; }
        .wiz-sum-edit-btn {
            display: flex; align-items: center; justify-content: center;
            width: 28px; height: 28px; border-radius: 6px; margin-left: auto;
            cursor: pointer; color: var(--azul-1); transition: background 0.15s;
        }
        .wiz-sum-edit-btn:hover { background: rgba(70,149,225,0.10); }
        .wiz-sum-footer { margin-top: auto; padding-top: 16px; border-top: 1px solid #E6EAEC; display: flex; gap: 8px; }
        .wiz-undo-btn { flex:1; height:36px; border-radius:4px; border:1px solid #E6EAEC; background:#FFFFFF; font-family:'Inter',sans-serif; font-size:13px; font-weight:500; color:#243A44; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:6px; transition:all 0.15s; }
        .wiz-undo-btn:hover { background:rgba(70,149,225,0.06); border-color:#4695E1; }
        .wiz-undo-btn:disabled { opacity: 0.35; cursor: default; }
