
        /* ─── RESET & BASE ─── */
        *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
        :root {
            --primary: #ab183d;
            --primary-light: #d9304f;
            --primary-dark: #87102e;
            --primary-gradient: linear-gradient(135deg, #ab183d, #d9304f);
            --surface: #ffffff;
            --surface-alt: #f8fafc;
            --text: #0f172a;
            --text-muted: #64748b;
            --radius: 16px;
            --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        }
        html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
        body { font-family: var(--font); background: #f8fafc; color: var(--text); min-height: 100vh; line-height: 1.6; overflow-x: hidden; padding: 0 !important; margin: 0; }
        
        body.dark { background: #0f172a; color: #e2e8f0; }
        body.dark .bg-white { background: #1e293b !important; }
        body.dark .bg-slate-50 { background: #1e293b !important; }
        body.dark .bg-slate-100 { background: #334155 !important; }
        body.dark .bg-slate-200 { background: #475569 !important; }
        body.dark .border-slate-200 { border-color: #334155 !important; }
        body.dark .border-slate-300 { border-color: #475569 !important; }
        body.dark .text-slate-600, body.dark .text-slate-700, body.dark .text-slate-800, body.dark .text-slate-900 { color: #e2e8f0 !important; }
        body.dark .text-slate-400, body.dark .text-slate-500 { color: #94a3b8 !important; }

        /* ─── BUTTONS ─── */
        .btn-primary {
            background: linear-gradient(135deg, var(--brand, #ab183d), var(--brand2, #d9304f));
            color: #fff;
            border: none;
            padding: 14px 28px;
            border-radius: 60px;
            font-weight: 700;
            font-size: 0.9rem;
            letter-spacing: 0.01em;
            transition: all 0.3s ease;
            box-shadow: 0 8px 28px -6px rgba(171, 24, 61, 0.35);
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            width: 100%;
            touch-action: manipulation;
            position: relative;
            overflow: hidden;
        }
        .btn-primary:hover:not(:disabled) {
            transform: translateY(-2px) scale(1.01);
            box-shadow: 0 12px 36px -8px rgba(171, 24, 61, 0.45);
        }
        .btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }

        .btn-secondary {
            background: var(--surface);
            color: var(--text);
            border: 1.5px solid #e2e8f0;
            padding: 12px 20px;
            border-radius: 60px;
            font-weight: 600;
            font-size: 0.8rem;
            transition: all 0.3s ease;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            width: 100%;
        }

        /* ─── TOOL SPECIFIC STYLES ─── */
        .upload-zone {
            border: 2.5px dashed #d1d5db;
            border-radius: var(--radius);
            background: var(--surface);
            transition: all 0.3s ease;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            min-height: 160px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 20px;
            aspect-ratio: 1.58 / 1;
        }
        .upload-zone:hover { border-color: #d9304f; background: #fff5f7; }
        .upload-zone .preview-container { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; background: #fff; }
        .upload-zone .preview-container.show { display: flex; }
        .upload-zone .preview-container img { width: 100%; height: 100%; object-fit: contain; }
        .upload-zone .remove-btn {
            position: absolute; top: 8px; right: 8px; background: #ef4444; color: #fff; border: none; border-radius: 50%;
            width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; font-size: 1rem; cursor: pointer; z-index: 5;
        }
        .upload-zone .prompt .icon-wrap { background: #f1f5f9; border-radius: 60px; padding: 14px; display: inline-block; }

        .mode-btn, .enhance-btn, .layout-btn {
            padding: 10px 20px; border-radius: 16px; font-size: 0.8rem; font-weight: 700; border: 2px solid #e2e8f0; background: #fff; color: var(--text-muted); cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; gap: 8px;
        }
        .mode-btn.active, .enhance-btn.active, .layout-btn.active {
            border-color: #ab183d !important; background: #ab183d !important; color: #fff !important; box-shadow: 0 4px 20px rgba(171, 24, 61, 0.2);
        }

        .corner-handle {
            width: 28px; height: 28px; background: #fff; border: 3px solid #ab183d; border-radius: 50%; position: absolute; cursor: grab; transform: translate(-50%, -50%); z-index: 10; box-shadow: 0 2px 12px rgba(171, 24, 61, 0.25); touch-action: none;
        }

        .toast-container { position: fixed; top: 80px; right: 16px; z-index: 1500; display: flex; flex-direction: column; gap: 8px; max-width: 360px; width: calc(100% - 32px); pointer-events: none; }
        .toast { background: #fff; border-radius: 16px; padding: 14px 18px; box-shadow: 0 16px 48px rgba(0,0,0,0.1); border-left: 4px solid #ab183d; display: flex; align-items: flex-start; gap: 12px; pointer-events: auto; animation: toastIn 0.4s ease forwards; }
        .toast.error { border-left-color: #ef4444; }
        .toast.success { border-left-color: #22c55e; }
        .toast.warning { border-left-color: #f59e0b; }
        .toast .toast-icon { flex-shrink: 0; width: 24px; height: 24px; margin-top: 2px; }
        .toast .toast-content { flex: 1; font-size: 0.85rem; font-weight: 500; color: var(--text); }
        .toast .toast-close { background: none; border: none; color: #94a3b8; cursor: pointer; font-size: 1.2rem; }

        @keyframes toastIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
        @keyframes toastOut { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(40px); } }

        .hidden-step { display: none !important; }
        .active-step { display: block !important; animation: fadeUp 0.5s ease forwards; }
        @keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

        /* ===================== PRO CSC TOOLS CHROME (fixed — do not edit) ===================== */
        :root{--brand:#ab183d;--brand2:#d9304f}
        body{padding:0 !important;font-family:'Inter','Segoe UI',sans-serif !important}
        .app-container{padding:0 18px}
        a{text-decoration:none}
        .site-nav{position:sticky;top:0;z-index:1000;background:#fff;border-bottom:1px solid #f0e3e7;box-shadow:0 2px 14px rgba(0,0,0,.05)}
        .nav-inner{max-width:1280px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;padding:13px 18px}
        .brand{display:flex;align-items:center;gap:9px;font-size:20px;font-weight:800;color:var(--brand);letter-spacing:-.3px}
        .brand i{color:#e0aa14;font-size:19px}
        .nav-links{display:flex;align-items:center;gap:24px;list-style:none;margin:0;padding:0}
        .nav-links a{color:#3f3f46;font-weight:600;font-size:15px;transition:color .2s}
        .nav-links a:hover{color:var(--brand)}
        .nav-cta{background:linear-gradient(135deg,var(--brand),var(--brand2));color:#fff !important;padding:9px 16px;border-radius:10px;font-weight:700;font-size:14px}
        .nav-toggle{display:none;background:none;border:none;font-size:22px;color:var(--brand);cursor:pointer}
        .site-mobile-menu{display:none;flex-direction:column;background:#fff;border-bottom:1px solid #eee;padding:6px 18px}
        .site-mobile-menu.open{display:flex}
        .site-mobile-menu a{padding:12px 4px;color:#3f3f46;font-weight:600;border-bottom:1px solid #f4f4f5}
        .site-mobile-menu a:last-child{border-bottom:none}
        @media(max-width:860px){.nav-links{display:none}.nav-toggle{display:block}}
        .tool-hero{background:linear-gradient(135deg,var(--brand),var(--brand2));color:#fff;padding:44px 18px 40px;text-align:center}
        .tool-hero .crumbs{font-size:13px;opacity:.92;margin-bottom:12px}
        .tool-hero .crumbs a{color:#fff}
        .tool-hero h1{font-size:34px;line-height:1.15;margin:0 0 12px;font-weight:800;color:#fff}
        .tool-hero p{font-size:16px;max-width:700px;margin:0 auto 20px;opacity:.96;line-height:1.55}
        .hero-stats{display:flex;justify-content:center;gap:14px;flex-wrap:wrap}
        .hstat{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.24);border-radius:14px;padding:12px 22px;min-width:118px}
        .hnum{display:block;font-size:22px;font-weight:800}
        .hlbl{font-size:12px;opacity:.92}
        @media(max-width:860px){.tool-hero h1{font-size:26px}.tool-hero p{font-size:15px}}
        .section{max-width:1100px;margin:48px auto;padding:0 18px}
        .section h2{font-size:26px;font-weight:800;color:#18181b;text-align:center;margin-bottom:8px}
        .section .sub{text-align:center;color:#71717a;margin-bottom:28px;font-size:15px}
        .steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:18px}
        .step-card{background:#fff;border:1px solid #f0e3e7;border-radius:16px;padding:22px;box-shadow:0 4px 18px rgba(0,0,0,.05);transition:transform .2s}
        .step-card:hover{transform:translateY(-4px)}
        .step-card .num{width:38px;height:38px;border-radius:11px;background:linear-gradient(135deg,var(--brand),var(--brand2));color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;margin-bottom:12px}
        .step-card h3{font-size:16px;margin:0 0 6px;color:#18181b}
        .step-card p{font-size:13.5px;color:#52525b;line-height:1.55;margin:0}
        .faq-section{max-width:820px;margin:48px auto;padding:0 18px}
        .faq-section .faq-item{background:#fff;border:1px solid #f0e3e7 !important;border-radius:14px;margin-bottom:12px;padding:0;box-shadow:0 3px 14px rgba(0,0,0,.04);overflow:hidden}
        .faq-section .faq-question{display:flex;justify-content:space-between;align-items:center;gap:12px;font-weight:700;font-size:15.5px;color:#18181b;padding:17px 20px;cursor:pointer}
        .faq-section .faq-question span{color:var(--brand);font-size:13px}
        .faq-section .faq-answer{display:none;padding:0 20px;color:#52525b;font-size:14.5px;line-height:1.6}
        .faq-section .faq-answer.show{display:block;padding:0 20px 17px}
        .site-footer{background:#1a1014;color:#e7d7dc;margin-top:52px;padding:46px 18px 22px;box-shadow:none;border:none}
        .footer-grid{max-width:1180px;margin:0 auto;display:grid;grid-template-columns:1.5fr 1fr 1fr 1.3fr;gap:30px}
        .site-footer .fbrand{display:flex;align-items:center;gap:9px;font-size:20px;font-weight:800;color:#fff;margin-bottom:12px}
        .site-footer .fbrand i{color:#e0aa14}
        .site-footer p{font-size:13.5px;line-height:1.6;color:#b9a7ad;margin:0 0 12px}
        .site-footer h4{font-size:15px;color:#fff;margin:0 0 14px}
        .site-footer ul{list-style:none;padding:0;margin:0}
        .site-footer ul li{margin-bottom:9px}
        .site-footer ul a{color:#b9a7ad;font-size:13.5px}
        .site-footer ul a:hover{color:#fff}
        .social-row{display:flex;gap:11px;margin-top:6px}
        .social-row a{width:36px;height:36px;border-radius:9px;background:rgba(255,255,255,.08);display:flex;align-items:center;justify-content:center;color:#e7d7dc;font-size:16px}
        .social-row a:hover{background:var(--brand);color:#fff}
        .footer-bottom{max-width:1180px;margin:26px auto 0;padding-top:18px;border-top:1px solid rgba(255,255,255,.1);text-align:center;font-size:13px;color:#9b888e}
        @media(max-width:860px){.footer-grid{grid-template-columns:1fr 1fr}}
        @media(max-width:520px){.footer-grid{grid-template-columns:1fr}}
        .wa-float{position:fixed;right:20px;bottom:20px;width:56px;height:56px;border-radius:50%;background:#25d366;color:#fff;display:flex;align-items:center;justify-content:center;font-size:28px;box-shadow:0 6px 20px rgba(37,211,102,.45);z-index:1200;animation:waFloat 2.6s ease-in-out infinite}
        @keyframes waFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
        @media print{.site-nav,.site-mobile-menu,.tool-hero,.wa-float,.section,.faq-section,.site-footer,.no-print{display:none !important}}
    