 .main-container { max-width: 1400px; margin: 0 auto; padding: 15px; box-sizing: border-box; }
        .reviewer-start-card {
            background: #ffffff; border-radius: 12px; padding: 30px;
            box-shadow: 0 10px 25px rgba(0,0,0,0.05); text-align: center;
            max-width: 700px; margin: 30px auto; border: 1px solid #e2e8f0;
        }
        .url-input-group {
            display: flex; gap: 10px; margin-top: 20px; direction: ltr;
        }
        .url-input-field {
            flex: 1; padding: 14px; border: 1px solid #cbd5e1; border-radius: 8px;
            font-size: 14px; text-align: left; outline: none; background: #f8fafc;
        }
        .url-submit-btn {
            background: #4f46e5; color: white; border: none; padding: 0 24px;
            border-radius: 8px; font-weight: bold; cursor: pointer; transition: background 0.2s;
            font-family: inherit; font-size: 14px; white-space: nowrap;
        }
        .url-submit-btn:hover { background: #4f46e5; }
        
        /* چیدمان دو ستونه تعاملی با ارتفاع تمام‌صفحه و اسکرول مستقل */
        .workspace-grid {
            display: none; 
            grid-template-columns: 1fr 380px; 
            gap: 20px; 
            margin-top: 20px;
            height: calc(100vh - 180px);
            min-height: 600px;
            transition: grid-template-columns 0.3s cubic-bezier(0.4, 0, 0.2, 1), gap 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        /* اصلاح ساختاری: ممانعت از شکستن ارتفاع ادیتور در زمان جمع شدن سایدبار */
        .workspace-grid.sidebar-collapsed {
            grid-template-columns: 1fr 0px !important;
            gap: 0px !important;
        }
        
        /* حالت تمام‌صفحه (Zen Mode) */
        .workspace-grid.fullscreen-active {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh !important;
            z-index: 99999;
            background: #f1f5f9;
            padding: 15px;
            margin: 0 !important;
            box-sizing: border-box;
        }

        .editor-container-box {
            background: #ffffff; border-radius: 12px; border: 1px solid #e2e8f0;
            display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.03);
            min-width: 0;
            height: 100%;
        }
        .editor-header-actions {
            padding: 12px 16px; border-bottom: 1px solid #e2e8f0; background: #f8fafc;
            display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
        }
        .target-url-badge {
            background: #e0f2fe; color: #0369a1; padding: 6px 12px; border-radius: 6px;
            font-size: 12px; font-weight: bold; direction: ltr; display: inline-block;
            word-break: break-all; max-width: 100%;
        }
        
        /* بازنویسی بدنه ادیتور جهت پر کردن فضا با مکانیزم Flex */
        .editor-viewport {
            flex: 1;
            padding: 20px; 
            overflow-y: auto; 
            overflow-x: auto; 
            outline: none; 
            background: #ffffff; 
            position: relative;
            zoom: 0.90; 
            word-break: break-word; 
            width: 100%; 
            box-sizing: border-box;
        }
        
        /* بازنویسی استایل ویرایشگر متنی جهت جلوگیری از شکافته شدن در موبایل */
        .editor-viewport * { max-width: 100% !important; box-sizing: border-box !important; }
        .editor-viewport table { width: 100% !important; display: block; overflow-x: auto; white-space: nowrap; }
        .editor-viewport img, .editor-viewport video { max-width: 100% !important; height: auto !important; }
        .editor-viewport iframe, .editor-viewport script { display: none !important; }
        
        /* استایل‌های اختصاصی بازرس المان‌های صفحه و چک‌لیست سئو */
        .inspected-element-highlight {
            outline: 2px dashed #4f46e5 !important;
            outline-offset: 2px;
            cursor: pointer;
            transition: outline 0.15s ease-in-out;
        }
        .ai-loading-element {
            opacity: 0.6 !important;
            animation: aiPulse 1.5s infinite !important;
        }
        @keyframes aiPulse {
            0% { opacity: 0.4; }
            50% { opacity: 0.8; }
            100% { opacity: 0.4; }
        }
        .seo-checklist-container {
            background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px;
            padding: 12px; margin-bottom: 15px; font-size: 12px;
        }
        .checklist-item {
            display: flex; align-items: center; gap: 8px; margin-bottom: 8px;
            color: #334155; line-height: 1.4;
        }
        .checklist-item.pass { color: #16a34a; font-weight: bold; }
        .checklist-item.fail { color: #dc2626; }
        .chk-icon { font-size: 14px; }
        
        /* استایل متمایز کننده برای تصاویر بدون Alt هایلایت شده */
        .img-no-alt-highlight {
            outline: 4px dashed #ef4444 !important;
            outline-offset: 4px;
            box-shadow: 0 0 15px rgba(239, 68, 68, 0.5) !important;
            transition: all 0.3s ease-in-out;
        }

        /* درختواره پروژه‌ها */
        .tree-project-node {
            font-weight: bold; color: #1e293b; margin-top: 8px; cursor: pointer;
            display: flex; align-items: center; gap: 6px; font-size: 12px;
        }
        .tree-pages-list {
            list-style: none; padding-right: 15px; margin: 4px 0; border-right: 1px dashed #cbd5e1;
        }
        .tree-page-node {
            font-weight: normal; color: #475569; margin: 4px 0; cursor: pointer;
            font-size: 11px; text-align: right; padding: 2px 4px; border-radius: 4px;
            transition: background 0.15s;
        }
        .tree-page-node:hover, .tree-page-node.active-page {
            background: #f1f5f9; color: #4f46e5;
        }
        
        .inspector-btn-group { display: flex; flex-direction: column; gap: 5px; margin-top: 6px; }

        /* دکمه اختصاصی کپی مخصوص وردپرس */
        .btn-indigo {
            background: #6366f1 !important;
            color: white !important;
            border: none;
            transition: background 0.2s;
        }
        .btn-indigo:hover {
            background: #4f46e5 !important;
        }

        /* پیکربندی سایدبار جهت انطباق با چیدمان با ارتفاع کامل دیسکتاپ */
        #sidebarColumn {
            height: 100%;
            display: flex;
            flex-direction: column;
            transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), margin 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
        }
        .ai-sidebar {
            height: 100%;
            display: flex;
            flex-direction: column;
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.03);
            overflow: hidden;
        }
        .ai-sidebar-content {
            flex: 1;
            overflow-y: auto;
            padding: 15px;
        }
        
        /* استایل کشویی سایدبار (Collapse States) */
        #sidebarColumn.collapsed {
            width: 0 !important;
            min-width: 0 !important;
            margin: 0 !important;
            opacity: 0;
            pointer-events: none;
            overflow: hidden;
        }

        /* ساختار و انیمیشن مدرن گیج امتیاز سئو زنده */
        .seo-gauge svg {
            width: 90px;
            height: 90px;
            transform: rotate(-90deg);
        }
        .bg-circle {
            fill: none;
            stroke: #e2e8f0;
            stroke-width: 8;
        }
        .progress-circle {
            fill: none;
            stroke: #4f46e5;
            stroke-width: 8;
            stroke-linecap: round;
            stroke-dasharray: 251.2;
            stroke-dashoffset: 251.2;
            transition: stroke-dashoffset 0.6s cubic-bezier(0.4, 0, 0.2, 1), stroke 0.4s ease;
        }

        /* توضیحات انتهای صفحه ابزار */
        .about-tool-section {
            background: #ffffff;
            border-radius: 12px;
            padding: 24px;
            margin-top: 30px;
            border: 1px solid #e2e8f0;
            box-shadow: 0 4px 12px rgba(0,0,0,0.02);
        }
        .about-tool-section p {
            line-height: 1.8;
            color: #000000;
        }

        /* ===== مدیا کوئری‌های حرفه‌ای برای ریسپانسیو کامل در تبلت و موبایل ===== */
        @media (max-width: 992px) {
            .workspace-grid, .workspace-grid.sidebar-collapsed {
                grid-template-columns: 1fr !important;
                gap: 20px !important;
                height: auto !important;
                min-height: auto !important;
            }
            #sidebarColumn {
                order: 1; /* سایدبار و ابزارهای هوش مصنوعی در موبایل به زیبایی قرار می‌گیرند */
                height: auto !important;
            }
            #sidebarColumn.collapsed {
                display: none !important; /* پنهان‌سازی کامل سایدبار در حالت موبایل جهت ممانعت از اشغال فضای افقی */
            }
            .editor-container-box, .ai-sidebar {
                height: auto !important;
            }
            .editor-viewport {
                max-height: 500px !important;
            }
            .editor-header-actions {
                flex-direction: column; align-items: flex-start;
            }
            .editor-header-actions > div {
                width: 100%; display: flex; flex-wrap: wrap; gap: 6px;
            }
            .url-input-group {
                flex-direction: column;
            }
            .url-submit-btn {
                width: 100%; padding: 12px;
            }
            .toolbar {
                display: flex; flex-wrap: wrap; gap: 4px;
            }
        }

        @media (max-width: 768px) {
            .editor-viewport {
                padding: 12px; min-height: 400px; zoom: 0.80; /* تنظیم خودکار زوم برای گوشی‌های موبایل */
            }
            .reviewer-start-card { padding: 20px; margin: 15px auto; }
        }

        @media (max-width: 480px) {
            .editor-viewport {
                zoom: 0.72; /* تنظیم بهینه زوم در گوشی‌های کوچک‌تر */
            }
        }