:root{--primary-color: #1a365d;--primary-light: #2c5282;--accent-color: #e53e3e;--accent-hover: #c53030;--success-color: #38a169;--success-hover: #2f855a;--bg-color: #f7fafc;--card-bg: #ffffff;--text-color: #2d3748;--text-muted: #718096;--border-color: #e2e8f0;--sidebar-bg: #1a202c;--sidebar-text: #e2e8f0;--shadow-sm: 0 1px 3px rgba(0,0,0,.1);--shadow-md: 0 4px 6px rgba(0,0,0,.1);--shadow-lg: 0 10px 25px rgba(0,0,0,.15);--radius-sm: 6px;--radius-md: 10px;--radius-lg: 16px}*{box-sizing:border-box}html,body,#root{margin:0;padding:0;height:100%;width:100%}body{font-family:Inter,Segoe UI,Helvetica Neue,Arial,sans-serif;background:var(--bg-color);color:var(--text-color);line-height:1.6}.app-layout{display:flex;height:100vh;width:100%}.sidebar{width:300px;min-width:300px;background:var(--sidebar-bg);color:var(--sidebar-text);display:flex;flex-direction:column;height:100vh;overflow:hidden}.sidebar-header{padding:1.5rem;border-bottom:1px solid rgba(255,255,255,.1)}.sidebar-header h1{font-size:1.25rem;font-weight:700;margin:0;color:#fff}.sidebar-header p{font-size:.75rem;color:var(--text-muted);margin:.25rem 0 0}.new-report-btn{display:flex;align-items:center;justify-content:center;gap:.5rem;margin:1rem;padding:.875rem;background:linear-gradient(135deg,var(--primary-light) 0%,var(--primary-color) 100%);color:#fff;border:none;border-radius:var(--radius-md);font-size:.95rem;font-weight:600;cursor:pointer;transition:all .2s ease}.new-report-btn:hover{transform:translateY(-1px);box-shadow:0 4px 12px #2c528266}.new-report-btn svg{width:18px;height:18px}.saved-reports{flex:1;overflow-y:auto;padding:0 1rem}.saved-reports h3{font-size:.75rem;text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted);margin:1rem 0 .75rem;padding:0 .5rem}.no-reports{color:var(--text-muted);font-size:.85rem;text-align:center;padding:2rem 1rem}.reports-list{list-style:none;padding:0;margin:0}.report-item{display:flex;align-items:center;justify-content:space-between;padding:.75rem;border-radius:var(--radius-sm);cursor:pointer;transition:all .2s ease;margin-bottom:.25rem}.report-item:hover{background:#ffffff0d}.report-item.active{background:#2c52824d}.report-info{display:flex;flex-direction:column;overflow:hidden}.report-name{font-weight:500;font-size:.9rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.report-date{font-size:.7rem;color:var(--text-muted);margin-top:.125rem}.delete-btn{background:transparent;border:none;color:var(--text-muted);cursor:pointer;padding:.25rem;border-radius:4px;opacity:0;transition:all .2s ease}.report-item:hover .delete-btn{opacity:1}.delete-btn:hover{background:#e53e3e33;color:var(--accent-color)}.delete-btn svg{width:16px;height:16px}.sidebar-footer{padding:1rem;border-top:1px solid rgba(255,255,255,.1)}.lang-toggle{width:100%;padding:.6rem;background:#ffffff1a;color:#fff;border:none;border-radius:var(--radius-sm);cursor:pointer;font-size:.9rem;transition:all .2s ease}.lang-toggle:hover{background:#ffffff26}.main-content{flex:1;overflow-y:auto;background:linear-gradient(135deg,#0d4f3c,#1a3a2f);min-height:100vh;padding:2rem}.form-container{max-width:700px;margin:0 auto}.strategy-form{background:var(--card-bg);padding:2rem;border-radius:var(--radius-lg);box-shadow:var(--shadow-lg)}.form-title{margin:0 0 1.5rem;font-size:1.5rem;color:var(--primary-color);font-weight:700}.form-group{margin-bottom:1.25rem}.form-group label{display:block;margin-bottom:.5rem;font-weight:600;color:var(--text-color);font-size:.9rem}.form-group input[type=text],.form-group textarea{width:100%;padding:.75rem 1rem;border:2px solid var(--border-color);border-radius:var(--radius-sm);font-size:.95rem;transition:all .2s ease;background:#fff}.form-group input[type=text]:focus,.form-group textarea:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 3px #1a365d1a}.form-group textarea{resize:vertical;min-height:100px}.module-checkboxes{display:grid;grid-template-columns:repeat(2,1fr);gap:.5rem;padding:.75rem;background:var(--bg-color);border-radius:var(--radius-md);border:1px solid var(--border-color)}.checkbox-label{display:flex;align-items:center;gap:.5rem;cursor:pointer;font-weight:500;font-size:.85rem;padding:.375rem;border-radius:var(--radius-sm);transition:background .2s}.checkbox-label:hover{background:#1a365d0d}.checkbox-label input[type=checkbox]{width:16px;height:16px;cursor:pointer;accent-color:var(--primary-color)}.help-text{display:block;margin-top:.375rem;color:var(--text-muted);font-size:.8rem}.toggle-group{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}.toggle-btn{padding:1rem;border:2px solid var(--border-color);border-radius:var(--radius-md);background:#fff;cursor:pointer;text-align:center;transition:all .2s ease;display:flex;flex-direction:column;gap:.25rem;font-weight:600;font-size:.95rem}.toggle-btn small{font-size:.75rem;color:var(--text-muted);font-weight:400}.toggle-btn:hover{border-color:var(--primary-color)}.toggle-btn.active{border-color:var(--primary-color);background:#1a365d0d;color:var(--primary-color)}.file-upload-container{display:flex;gap:.5rem;align-items:center}.file-input{display:none}.file-label{flex:1;padding:.75rem;border:2px dashed var(--border-color);border-radius:var(--radius-md);background:var(--bg-color);cursor:pointer;text-align:center;transition:all .2s ease;font-weight:500;font-size:.9rem;color:var(--text-muted)}.file-label:hover{border-color:var(--primary-color);color:var(--primary-color)}.file-remove-btn{padding:.75rem 1rem;background:var(--accent-color);color:#fff;border:none;border-radius:var(--radius-sm);cursor:pointer;font-weight:500;font-size:.85rem;transition:all .2s ease}.file-remove-btn:hover{background:var(--accent-hover)}.generate-btn{width:100%;padding:1rem;background:linear-gradient(135deg,var(--primary-color) 0%,var(--primary-light) 100%);color:#fff;border:none;border-radius:var(--radius-md);font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 15px #1a365d4d;margin-top:.5rem}.generate-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 20px #1a365d66}.generate-btn:disabled{background:#a0aec0;cursor:not-allowed;box-shadow:none;animation:pulse 1.5s ease-in-out infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.7}}.error-message{color:var(--accent-color);text-align:center;margin-top:1rem;padding:1rem;background:#e53e3e1a;border-radius:var(--radius-sm);font-weight:500}.output-container{max-width:1200px;margin:0 auto}.output-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;flex-wrap:wrap;gap:1rem}.output-header h2{margin:0;color:#fff;font-size:1.5rem;font-weight:600}.output-actions{display:flex;gap:.75rem}.save-btn{display:flex;align-items:center;gap:.5rem;padding:.625rem 1.25rem;background:var(--primary-color);color:#fff;border:none;border-radius:var(--radius-sm);font-size:.9rem;font-weight:600;cursor:pointer;transition:all .2s ease}.save-btn:hover:not(:disabled){background:var(--primary-light);transform:translateY(-1px)}.save-btn:disabled{opacity:.7;cursor:not-allowed}.save-btn svg{width:16px;height:16px}.download-btn{display:flex;align-items:center;gap:.5rem;padding:.625rem 1.25rem;background:var(--success-color);color:#fff;border:none;border-radius:var(--radius-sm);font-size:.9rem;font-weight:600;cursor:pointer;transition:all .2s ease}.download-btn:hover{background:var(--success-hover);transform:translateY(-1px)}.download-btn svg{width:16px;height:16px}.output-section{display:grid;grid-template-columns:repeat(auto-fit,minmax(400px,1fr));gap:1.25rem}.strategy-module{background:var(--card-bg);padding:1.5rem;border-radius:var(--radius-lg);box-shadow:var(--shadow-lg)}.strategy-module h2{color:var(--primary-color);border-bottom:3px solid var(--primary-color);padding-bottom:.6rem;margin:0 0 1rem;font-size:1.15rem;font-weight:700}.module-content{color:var(--text-color);font-size:.9rem}.sub-section{margin-bottom:1.25rem}.sub-section:last-child{margin-bottom:0}.sub-section h3{color:var(--primary-light);font-size:.95rem;margin:0 0 .5rem;text-transform:capitalize;font-weight:600;display:flex;align-items:center;gap:.5rem}.sub-section h3:before{content:"";width:3px;height:14px;background:var(--primary-color);border-radius:2px}.sub-section ul{padding-left:1.25rem;margin:0}.sub-section li{margin-bottom:.4rem;line-height:1.5}pre{background:var(--bg-color);padding:.75rem;overflow-x:auto;border-radius:var(--radius-sm);font-size:.8rem;border:1px solid var(--border-color)}.nested-object{margin-left:.5rem;padding-left:.75rem;border-left:2px solid var(--border-color)}.nested-item{margin-bottom:.4rem;line-height:1.5}.nested-item strong{color:var(--primary-color);font-weight:600}.nested-list{margin:.25rem 0;padding-left:1rem}.nested-list li{margin-bottom:.4rem}.depth-1{margin-left:.25rem}.depth-2{margin-left:.5rem;font-size:.85rem}[dir=rtl]{direction:rtl;text-align:right}[dir=rtl] body{font-family:Cairo,Tajawal,Segoe UI,Arial,sans-serif}[dir=rtl] .app-layout{flex-direction:row-reverse}[dir=rtl] .form-group label{text-align:right}[dir=rtl] .checkbox-label{flex-direction:row-reverse}[dir=rtl] .sub-section ul{padding-right:1.25rem;padding-left:0}[dir=rtl] .sub-section h3:before{order:1}[dir=rtl] .nested-object{margin-left:0;margin-right:.5rem;padding-left:0;padding-right:.75rem;border-left:none;border-right:2px solid var(--border-color)}[dir=rtl] .nested-list{padding-left:0;padding-right:1rem}[dir=rtl] .output-header,[dir=rtl] .output-actions,[dir=rtl] .save-btn,[dir=rtl] .download-btn,[dir=rtl] .new-report-btn,[dir=rtl] .report-item{flex-direction:row-reverse}[dir=rtl] .report-info{align-items:flex-end}@media (max-width: 900px){.app-layout{flex-direction:column}.sidebar{width:100%;min-width:100%;height:auto;max-height:40vh}.saved-reports{max-height:150px}.main-content{min-height:60vh;padding:1.5rem}.output-section,.module-checkboxes,.toggle-group{grid-template-columns:1fr}.output-header{flex-direction:column;align-items:flex-start}.output-actions{width:100%;justify-content:stretch}.output-actions button{flex:1;justify-content:center}}.module-visualizations{margin-bottom:1.5rem;padding-bottom:1.5rem;border-bottom:1px solid var(--border-color)}.chart-container{background:linear-gradient(135deg,#1f2937,#111827);border-radius:var(--radius-md);padding:1.25rem;margin-bottom:1rem}.chart-title{color:#fff;font-size:1rem;font-weight:600;margin:0 0 1rem;padding-bottom:.5rem;border-bottom:2px solid #10b981}.metrics-container{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:.75rem;margin-bottom:1rem}.metric-card{background:linear-gradient(135deg,#065f46,#047857);border-radius:var(--radius-md);padding:1rem;text-align:center;display:flex;flex-direction:column;align-items:center;gap:.25rem;box-shadow:0 4px 6px #0003}.metric-icon{font-size:1.5rem}.metric-value{font-size:1.75rem;font-weight:700;color:#fff}.metric-label{font-size:.75rem;color:#a7f3d0;text-transform:uppercase;letter-spacing:.05em}.swot-container{margin-bottom:1rem}.swot-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.75rem}.swot-quadrant{background:#1f2937;border-radius:var(--radius-md);border:2px solid;overflow:hidden}.swot-header{display:flex;align-items:center;gap:.5rem;padding:.6rem .875rem;font-weight:600;font-size:.9rem;color:#fff}.swot-icon{font-size:1rem}.swot-list{list-style:none;padding:.75rem;margin:0}.swot-list li{font-size:.8rem;color:#d1d5db;margin-bottom:.4rem;padding-left:.75rem;position:relative;line-height:1.4}.swot-list li:before{content:"•";position:absolute;left:0;color:inherit}.pillars-container{margin-bottom:1rem}.pillars-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:.75rem}.pillar-card{background:linear-gradient(135deg,#1f2937,#111827);border-radius:var(--radius-md);padding:1rem;border-left:4px solid;display:flex;align-items:flex-start;gap:.75rem}.pillar-number{width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.9rem;color:#fff;flex-shrink:0}.pillar-content h5{margin:0 0 .375rem;color:#fff;font-size:.9rem;font-weight:600}.pillar-content p{margin:0;font-size:.8rem;color:#9ca3af;line-height:1.4}.recommendations-container{margin-bottom:1rem}.recommendations-timeline{display:flex;flex-direction:column;gap:.6rem}.recommendation-item{display:flex;align-items:flex-start;gap:.875rem;background:linear-gradient(135deg,#1f2937,#111827);border-radius:var(--radius-md);padding:.875rem}.rec-indicator{width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.8rem;color:#fff;flex-shrink:0}.rec-content{flex:1}.rec-content p{margin:0 0 .25rem;color:#e5e7eb;font-size:.85rem;line-height:1.4}.rec-priority{font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em}.message-framework-container{margin-bottom:1rem}.brand-promise-card{background:linear-gradient(135deg,#065f46,#047857);border-radius:var(--radius-md);padding:1.25rem;text-align:center;margin-bottom:1rem}.promise-label{font-size:.7rem;text-transform:uppercase;letter-spacing:.1em;color:#a7f3d0;margin-bottom:.5rem}.promise-text{font-size:1.1rem;font-weight:600;color:#fff;line-height:1.4}.value-props-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.75rem}.value-prop-card{background:linear-gradient(135deg,#1f2937,#111827);border-radius:var(--radius-md);padding:1rem;border-top:3px solid;display:flex;align-items:flex-start;gap:.75rem}.prop-icon{width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.75rem;color:#fff;flex-shrink:0}.value-prop-card p{margin:0;font-size:.85rem;color:#e5e7eb;line-height:1.4}.recharts-tooltip-wrapper{outline:none!important}.recharts-default-tooltip{background:#1f2937!important;border:1px solid #374151!important;border-radius:8px!important}.recharts-legend-item-text{color:#9ca3af!important;font-size:.8rem!important}[dir=rtl] .swot-list li{padding-left:0;padding-right:.75rem}[dir=rtl] .swot-list li:before{left:auto;right:0}[dir=rtl] .pillar-card{border-left:none;border-right:4px solid}[dir=rtl] .recommendation-item,[dir=rtl] .value-prop-card{flex-direction:row-reverse}@media (max-width: 600px){.swot-grid{grid-template-columns:1fr}.metrics-container{grid-template-columns:repeat(2,1fr)}.pillars-grid,.value-props-grid{grid-template-columns:1fr}.chart-container{padding:1rem}}:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}
