        @import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Dancing+Script:wght@700&display=swap');
        
        :root { --brand: #2563eb; }
        body { 
            font-family: 'Plus Jakarta Sans', sans-serif; 
            scroll-behavior: smooth; 
            background-color: #f8fafc;
        }

        /* Workbench Background Pattern */
        .workbench {
            background-color: #f1f5f9;
            background-image: radial-gradient(#cbd5e1 0.8px, transparent 0.8px);
            background-size: 24px 24px;
        }

        #pdf-render {
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
            background: white;
            transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
            max-width: 100%;
            height: auto !important;
        }

        /* Interactive Signature Overlays */
        .signature-overlay {
            position: absolute;
            cursor: move;
            border: 2px dashed var(--brand);
            background: rgba(37, 99, 235, 0.05);
            touch-action: none;
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
            backdrop-filter: blur(1px);
            display: flex;
            align-items: center;
            justify-content: center;
            user-select: none;
            -webkit-user-select: none;
        }

        .signature-overlay:hover, .signature-overlay.active {
            border-style: solid;
            background: rgba(37, 99, 235, 0.08);
        }

        .resizer {
            position: absolute;
            width: 14px;
            height: 14px;
            background: var(--brand);
            border: 2px solid white;
            border-radius: 4px;
            bottom: -7px;
            right: -7px;
            cursor: nwse-resize;
            z-index: 70;
        }

        .delete-btn {
            position: absolute;
            top: -10px;
            left: -10px;
            background: #ef4444;
            color: white;
            border-radius: 50%;
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 70;
            font-weight: bold;
            font-size: 14px;
            box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
            border: 1.5px solid white;
            transition: transform 0.2s;
        }
        
        .delete-btn:hover {
            transform: scale(1.1);
        }

        .custom-scrollbar::-webkit-scrollbar { width: 6px; height: 6px; }
        .custom-scrollbar::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }
        .custom-scrollbar::-webkit-scrollbar-track { background: transparent; }

        /* Smooth UI entry animations */
        .animate-fade-in {
            animation: fadeIn 0.4s ease-out forwards;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(8px); }
            to { opacity: 1; transform: translateY(0); }
        }