
    /* =========================================
       TEXT TO QR — PREMIUM UI
       ========================================= */
    .da-wrapper {
        --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
        --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
        display: flex;
        justify-content: center;
            padding: clamp(0px, 5vw, 0px) 20px;
        perspective: 1000px;
    }

    .da-panel {
        position: relative;                
        width: 100%;
        max-width: 1200px;
        border-radius: 28px;
        padding: clamp(28px, 5vw, 56px);
    }

    



    /* ---------- OPTIONS BAR ---------- */
    .options-bar { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 16px; padding: 12px 20px; display: flex; align-items: center; gap: 16px; margin-bottom: 24px; box-shadow: 0 4px 20px rgba(0,0,0,0.02); flex-wrap: wrap; }
    
    .ob-lbl { font-size: 11px; font-weight: 800; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
    .f-btn { background: transparent; border: none; font-family: inherit; font-size: 13px; font-weight: 700; color: var(--text-muted); outline: none; cursor: pointer; padding: 6px 12px; border-radius: 8px; transition: all 0.2s; }
    .f-btn:hover { background: var(--bg-body); color: var(--text-main); }
    .f-btn.on { background: rgba(var(--primary-color-rgb), 0.1); color: var(--primary-color); }
    
    .ob-sep { width: 1px; height: 24px; background: var(--border-color); margin: 0 4px; }
    
    .dir-toggle { display: flex; align-items: center; gap: 8px; background: var(--bg-body); border: 1px solid var(--border-color); border-radius: 8px; padding: 6px 12px; font-size: 11px; font-weight: 800; color: var(--text-muted); cursor: pointer; transition: all 0.2s; }
    .dir-toggle:hover { border-color: var(--primary-color); }
    .d-ltr, .d-rtl { transition: color 0.2s; }
    .dir-toggle.rtl .d-rtl { color: var(--primary-color); }
    .dir-toggle:not(.rtl) .d-ltr { color: var(--primary-color); }
    
    .usage-meter { margin-left: auto; display: flex; align-items: center; gap: 12px; }
    .usage-pips { display: flex; gap: 4px; }
    .pip { width: 8px; height: 8px; border-radius: 50%; background: var(--border-color); }
    .pip.used { background: #10b981; box-shadow: 0 0 8px rgba(16, 185, 129, 0.4); }
    .usage-lbl { font-family: 'Space Mono', monospace; font-size: 11px; font-weight: 700; color: #10b981; }

    /* ---------- PRISM WORKSPACE ---------- */
    .prism-workspace { display: flex; justify-content: center; margin-bottom: 32px; perspective: 1200px; }
    
    .kinetic-card { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 24px; width: 100%; max-width: 800px; box-shadow: 0 20px 50px rgba(0,0,0,0.05); display: flex; flex-direction: column; overflow: hidden; transform-style: preserve-3d; transition: transform 0.1s; position: relative; }
    .kinetic-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.05), transparent 50%, rgba(var(--pink-rgb), 0.05)); z-index: 0; pointer-events: none; }
    
    /* Pulse effect */
    @keyframes prismPulse { 0% { box-shadow: 0 0 0 0 rgba(var(--primary-color-rgb), 0.4); } 70% { box-shadow: 0 0 0 15px rgba(var(--primary-color-rgb), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--primary-color-rgb), 0); } }
    .kinetic-card.pulsing { animation: prismPulse 0.3s ease-out; }

    .render-stage { display: flex; align-items: center; justify-content: center; padding: 40px; background: var(--bg-body); border-bottom: 1px solid var(--border-color); min-height: 320px; position: relative; z-index: 1; }
    
    .empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; color: var(--text-muted); opacity: 0.6; }
    .empty-state.hidden { display: none; }
    .es-icon { width: 48px; height: 48px; }
    .empty-state span { font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; font-family: 'Space Mono', monospace; }
    
    #qrCanvas { width: 260px !important; height: 260px !important; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); background: #fff; }

    .data-injector { padding: 24px; border-bottom: 1px solid var(--border-color); z-index: 1; position: relative; }
    .di-input { width: 100%; min-height: 120px; background: transparent; border: none; font-size: 18px; line-height: 1.6; color: var(--text-main); outline: none; resize: vertical; }
    .di-input::placeholder { color: var(--text-muted); opacity: 0.5; }

    .customization-prism { padding: 24px; background: var(--bg-body); border-bottom: 1px solid var(--border-color); z-index: 1; position: relative; }
    .cp-header { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; color: var(--text-main); margin-bottom: 16px; }
    
    .cp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
    @media(max-width: 600px) { .cp-grid { grid-template-columns: 1fr; } }
    
    .cp-control { display: flex; flex-direction: column; gap: 8px; }
    .cp-label { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
    
    .color-wrap { display: flex; align-items: center; gap: 12px; background: var(--card-bg); border: 1px solid var(--border-color); padding: 8px; border-radius: 12px; }
    .c-picker { width: 32px; height: 32px; border: none; border-radius: 8px; cursor: pointer; padding: 0; overflow: hidden; background: transparent; }
    .c-picker::-webkit-color-swatch-wrapper { padding: 0; }
    .c-picker::-webkit-color-swatch { border: none; border-radius: 6px; }
    .c-val { font-family: 'Space Mono', monospace; font-size: 13px; font-weight: 800; color: var(--text-main); }
    
    .cp-select { width: 100%; background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 12px; padding: 12px; font-size: 13px; font-weight: 700; color: var(--text-main); outline: none; cursor: pointer; }
    .cp-select:focus { border-color: var(--primary-color); }

    .action-bar { padding: 16px 24px; display: flex; justify-content: space-between; align-items: center; z-index: 1; position: relative; flex-wrap: wrap; gap: 12px; }
    
    .a-btn { padding: 12px 20px; border-radius: 12px; font-size: 13px; font-weight: 800; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; transition: all 0.2s; border: none; }
    .a-btn.secondary { background: var(--bg-body); border: 1px solid var(--border-color); color: var(--text-main); }
    .a-btn.secondary:hover { background: rgba(239, 68, 68, 0.1); color: #ef4444; border-color: rgba(239, 68, 68, 0.2); }
    .a-btn.primary { background: var(--primary-color); color: #fff; box-shadow: 0 4px 12px rgba(var(--primary-color-rgb), 0.2); flex: 1; max-width: 300px; }
    .a-btn.primary:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(var(--primary-color-rgb), 0.3); }
    .a-btn.primary:disabled { opacity: 0.5; cursor: not-allowed; box-shadow: none; }

    /* ---------- STATS STRIP ---------- */
    .stats-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 32px; }
    .sc { background: var(--card-bg); border-radius: 16px; padding: 20px; border: 1px solid var(--border-color); display: flex; flex-direction: column; align-items: center; text-align: center; transition: transform 0.2s; }
    .sc:hover { transform: translateY(-2px); }
    .sc-ico { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
    
    .sc-ico.r { background: rgba(239, 68, 68, 0.1); color: #ef4444; }
    .sc-ico.b { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
    .sc-ico.g { background: rgba(34, 197, 94, 0.1); color: #22c55e; }
    .sc-ico.p { background: rgba(168, 85, 247, 0.1); color: #a855f7; }
    
    .sc-val { font-size: 28px; font-weight: 900; color: var(--text-main); line-height: 1; margin-bottom: 4px; transition: transform 0.3s; }
    .sc-lbl { font-size: 11px; font-weight: 800; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
    .sc-val.popped { transform: scale(1.3); color: var(--primary-color); }

    /* Toast */
    /* ── Comparison Panel & Analytics ── */
    .comparison-panel {
        background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 24px;
        padding: 28px; margin-top: 32px; box-shadow: 0 10px 30px rgba(0,0,0,0.02); margin-bottom: 40px;
    }
    .cp-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
    .cp-title { font-size: 16px; font-weight: 800; color: var(--text-main); display: flex; align-items: center; gap: 10px; }
    .cp-badge { font-size: 12px; font-weight: 800; padding: 6px 14px; border-radius: 100px; }
    .badge-high { background: color-mix(in srgb, var(--success, #10b981) 15%, transparent); color: var(--success, #10b981); border: 1px solid color-mix(in srgb, var(--success, #10b981) 30%, transparent); }

    .cp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
    .cp-card { background: var(--bg-body); border: 1px solid var(--border-color); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
    .cpc-header { display: flex; justify-content: space-between; align-items: center; }
    .cpc-title { font-size: 13.5px; font-weight: 800; color: var(--text-main); }
    .cpc-tag { font-size: 11.5px; font-weight: 800; padding: 4px 10px; border-radius: 6px; }
    .cpc-tag.success { background: color-mix(in srgb, var(--success, #10b981) 15%, transparent); color: var(--success, #10b981); }

    .cpc-body { display: flex; flex-direction: column; gap: 10px; }
    .cpc-stat-row { font-size: 13px; color: var(--text-muted); display: flex; justify-content: space-between; }
    .cpc-stat-row strong { color: var(--text-main); font-weight: 700; }
    .cpc-progress-bar { width: 100%; height: 8px; background: var(--border-color); border-radius: 100px; overflow: hidden; margin-top: 4px; }
    .cpc-progress-fill { height: 100%; background: var(--primary-color); border-radius: 100px; transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
    .cpc-progress-fill.bg-gradient { background: linear-gradient(90deg, var(--primary-color), var(--primary-gradient-end)); }

    /* Toast */
    .toast { position: fixed; bottom: 24px; right: 24px; background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 12px; padding: 12px 20px; display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; color: var(--text-main); box-shadow: 0 10px 30px rgba(0,0,0,0.1); z-index: 100000; opacity: 0; pointer-events: none; transform: translateY(20px); transition: all 0.3s var(--ease-spring); }
    .toast.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
    .toast.success { border-left: 4px solid #10b981; }
    .toast.error { border-left: 4px solid #ef4444; }
    .toast.warn { border-left: 4px solid #f59e0b; }
    .toast.info { border-left: 4px solid #3b82f6; }

    /* =========================================
       ZERO INLINE STYLES EXTENSIONS
       ========================================= */
    #bgCv {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
        pointer-events: none;
    }

    .icon-hero-badge {
        width: 14px;
        height: 14px;
    }

    .icon-type-muted {
        width: 12px;
        height: 12px;
        color: var(--text-muted);
    }

    .dir-divider {
        opacity: 0.3;
    }

    .cp-header i {
        width: 14px;
        height: 14px;
    }

    .cp-label i {
        width: 12px;
        height: 12px;
    }

    .cp-control.col-span-full {
        grid-column: 1 / -1;
    }

    .cd-header i {
        width: 14px;
        height: 14px;
    }

    .a-btn i {
        width: 14px;
        height: 14px;
    }

    .sc-ico i {
        width: 18px;
        height: 18px;
    }

    .info-div-t {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 14px;
        font-weight: 800;
        color: var(--text-main);
        margin-bottom: 20px;
        margin-top: 40px;
    }

    .icon-star-primary {
        width: 16px;
        height: 16px;
        color: var(--primary-color);
    }

    .toast i {
        width: 18px;
        height: 18px;
        color: var(--primary-color);
    }


