
    /* =========================================
       BARCODE GENERATOR — 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;
    }

    .da-panel {
        position: relative;                
        width: 100%;
        max-width: 1200px;
        border-radius: 28px;
        padding: clamp(28px, 5vw, 56px);
    }



    /* ---------- STATS STRIP ---------- */
    .stats-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 24px; }
    .sc { background: var(--card-bg); border-radius: 16px; padding: 20px; border: 1px solid var(--border-color); display: flex; flex-direction: column; box-shadow: 0 4px 20px rgba(0,0,0,0.02); }
    .sc-lbl { font-size: 11px; font-weight: 800; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
    .sc-val { font-size: 24px; font-weight: 900; color: var(--text-main); font-family: 'Space Mono', monospace; }
    .sc.c-red .sc-lbl i { color: #ef4444; width: 14px; height: 14px; }
    .sc.c-blue .sc-lbl i { color: #3b82f6; width: 14px; height: 14px; }
    .sc.c-indigo .sc-lbl i { color: #6366f1; width: 14px; height: 14px; }
    .sc.c-green .sc-lbl i { color: #10b981; width: 14px; height: 14px; }
    .text-emerald-500 { color: #10b981 !important; display: flex; align-items: center; gap: 8px; }
    .text-emerald-500::before { content: ''; width: 8px; height: 8px; background: #10b981; border-radius: 50%; box-shadow: 0 0 10px rgba(16,185,129,0.5); animation: pulse 2s infinite; }
    @keyframes pulse { 0% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.8); } 100% { opacity: 1; transform: scale(1); } }

    /* ---------- WORKSPACE GRID ---------- */
    .workspace-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 40px; }
    @media (max-width: 900px) { .workspace-grid { grid-template-columns: 1fr; } }
    
    .glass-panel { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 24px; padding: 24px; box-shadow: 0 10px 40px rgba(0,0,0,0.02); }
    .panel-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border-color); padding-bottom: 16px; margin-bottom: 20px; }
    .panel-title { font-size: 16px; font-weight: 900; color: var(--text-main); display: flex; align-items: center; gap: 8px; }
    .panel-title i { width: 18px; height: 18px; }

    .input-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
    .input-label { font-size: 12px; font-weight: 800; color: var(--text-main); }
    .c-input { width: 100%; background: var(--bg-body); border: 1px solid var(--border-color); border-radius: 12px; padding: 12px 14px; font-family: inherit; font-size: 14px; font-weight: 700; color: var(--text-main); outline: none; transition: border-color 0.2s; -webkit-appearance: none; }
    .c-input:focus { border-color: var(--primary-color); }
    
    .controls-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    
    .color-input-wrap { display: flex; align-items: center; gap: 12px; background: var(--bg-body); border: 1px solid var(--border-color); border-radius: 12px; padding: 8px 14px; }
    .color-picker { -webkit-appearance: none; border: none; width: 28px; height: 28px; border-radius: 6px; cursor: pointer; padding: 0; background: none; }
    .color-picker::-webkit-color-swatch-wrapper { padding: 0; }
    .color-picker::-webkit-color-swatch { border: 1px solid rgba(0,0,0,0.1); border-radius: 6px; }
    
    /* Toggle Switch */
    .sw-row { display: flex; align-items: center; justify-content: space-between; background: var(--bg-body); border: 1px solid var(--border-color); border-radius: 12px; padding: 12px 14px; cursor: pointer; transition: border-color 0.2s; }
    .sw-row:hover { border-color: var(--primary-color); }
    .sw { margin: 0; pointer-events: none; }
    .sw-track { width: 36px; height: 20px; background: var(--border-color); border-radius: 20px; position: relative; transition: background 0.3s; }
    .sw-thumb { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; background: #fff; border-radius: 50%; transition: transform 0.3s; box-shadow: 0 2px 4px rgba(0,0,0,0.2); }
    .sw-track.on { background: #10b981; }
    .sw-track.on .sw-thumb { transform: translateX(16px); }

    /* Visual Preview Panel */
    .barcode-preview-container { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #f8fafc; border: 1px dashed var(--border-color); border-radius: 16px; padding: 30px; position: relative; overflow: hidden; min-height: 250px; margin-bottom: 20px; }
    
    #barcodeOutput { transition: opacity 0.3s; max-width: 100%; height: auto; }
    
    .error-msg { position: absolute; font-size: 13px; font-weight: 800; color: #ef4444; background: rgba(239, 68, 68, 0.1); padding: 8px 16px; border-radius: 8px; z-index: 10; display: none; }
    .error-msg.visible { display: block; }

    .download-footer { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    .act-btn { padding: 14px; border-radius: 12px; font-size: 14px; font-weight: 800; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; transition: all 0.2s; border: none; }
    .act-btn.primary { background: var(--primary-color); color: #fff; box-shadow: 0 4px 15px rgba(var(--primary-color-rgb), 0.3); }
    .act-btn.primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(var(--primary-color-rgb), 0.4); }
    .act-btn:not(.primary) { background: var(--bg-body); color: var(--text-main); border: 1px solid var(--border-color); }
    .act-btn:not(.primary):hover { border-color: var(--primary-color); color: var(--primary-color); }
    
    /* 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; pointer-events: auto; transform: translateY(0); }
    
    /* ── 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)); }

    /* =========================================
       ZERO INLINE STYLES EXTENSIONS
       ========================================= */
    #bgCanvas {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
        pointer-events: none;
    }

    .icon-hero-badge {
        width: 14px;
        height: 14px;
    }

    .panel-title i.icon-settings-primary {
        color: var(--primary-color);
    }

    .panel-title i.icon-eye-blue {
        color: #3b82f6;
    }

    .dropdown-pos-rel {
        position: relative;
    }

    .icon-chevron-xs {
        width: 14px;
        height: 14px;
    }

    .color-hex-tag {
        font-size: 12px;
        font-family: var(--font-mono, monospace);
    }

    .sw-label-compact {
        margin: 0;
    }

    .glass-panel-flex {
        display: flex;
        flex-direction: column;
    }

    .icon-btn-md {
        width: 16px;
        height: 16px;
    }

    .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-icon-primary {
        color: var(--primary-color);
    }


