.notification-container{position:fixed;top:80px;left:50%;transform:translate(-50%);z-index:100000;display:flex;flex-direction:column;gap:.5rem;pointer-events:none}.notification{display:flex;align-items:center;gap:.75rem;padding:.875rem 1.5rem;border-radius:12px;color:#fff;font-size:.9375rem;font-weight:500;box-shadow:0 10px 40px #0003;animation:notifSlideIn .3s ease;pointer-events:auto;font-family:inherit}.notification-success{background:#10b981}.notification-error{background:#ef4444}.notification-warning{background:#f59e0b}.notification-info{background:#3b82f6}@keyframes notifSlideIn{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.live-notifications-container{position:fixed;bottom:1.5rem;left:1.5rem;display:flex;flex-direction:column;gap:.75rem;z-index:9999;max-height:calc(100vh - 3rem);overflow-y:auto;pointer-events:none}.live-notification-card{background:var(--bg-primary, #fff);border-radius:8px;padding:.75rem 1rem;width:340px;box-shadow:0 4px 20px #00000026;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease;position:relative;pointer-events:auto;animation:slideInLeft .3s ease-out;border-inline-end:3px solid #3b82f6}.live-notification-card:hover{transform:translate(4px);box-shadow:0 6px 24px #0003}@keyframes slideInLeft{0%{transform:translate(-100%);opacity:0}to{transform:translate(0);opacity:1}}.live-notification-card .notification-close{position:absolute;top:.5rem;inset-inline-start:.5rem;background:none;border:none;padding:.25rem;cursor:pointer;color:var(--text-tertiary, #9ca3af);border-radius:4px;display:flex;align-items:center;justify-content:center;transition:background .15s ease,color .15s ease}.live-notification-card .notification-close:hover{background:var(--bg-tertiary, #f3f4f6);color:var(--text-primary, #1f2937)}.live-notification-card .notification-header{display:flex;align-items:center;gap:.5rem;margin-bottom:.35rem}.live-notification-card .notification-label{font-size:.65rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.live-notification-card .notification-source{font-size:.65rem;color:var(--text-tertiary, #9ca3af);background:var(--bg-tertiary, #f3f4f6);padding:.1rem .35rem;border-radius:3px}.live-notification-card .notification-title{margin:0 0 .5rem;font-size:.85rem;font-weight:600;line-height:1.4;color:var(--text-primary, #1f2937);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;padding-inline-start:1.5rem}.live-notification-card .notification-meta{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}.live-notification-card .meta-item{display:flex;align-items:center;gap:.25rem;font-size:.7rem;color:var(--text-secondary, #6b7280)}.live-notification-card .meta-item .flag{font-size:.85rem}.live-notification-card .meta-item.time{color:var(--text-tertiary, #9ca3af)}.live-notification-card .meta-item.status{background:var(--bg-tertiary, #f3f4f6);padding:.1rem .35rem;border-radius:3px}.live-notification-card .importance-badge{font-size:.6rem;font-weight:600;padding:.1rem .35rem;border-radius:3px}.live-notification-card .importance-badge.importance-عاجل{color:#ef4444;background:#fef2f2}.live-notification-card .importance-badge.importance-هام{color:#f59e0b;background:#fffbeb}.live-notification-card .importance-badge.importance-رائج{color:#3b82f6;background:#eff6ff}.live-notification-card .importance-badge.importance-خاص{color:#ec4899;background:#fdf2f8}.login-screen{min-height:100vh;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at top,#d4a10f40,#190e66f2);background-attachment:fixed;padding:1rem}.auth-loading-screen{position:fixed;inset:0;background:radial-gradient(circle at top,#d4a10f40,#190e66f2);display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:9999}.loading-spinner{border:4px solid rgba(255,255,255,.3);border-top:4px solid #d4a10f;border-radius:50%;width:50px;height:50px;animation:loginSpin 1s linear infinite;margin-bottom:1.5rem}@keyframes loginSpin{to{transform:rotate(360deg)}}.loading-text{color:#d4a10f;font-size:1.3rem;font-weight:600;text-shadow:0 2px 4px rgba(0,0,0,.3)}.login-card{background:#fffffffa;border-radius:24px;padding:3rem;width:100%;max-width:420px;box-shadow:0 25px 80px #190e6666,0 10px 30px #0003;text-align:center;animation:fadeInUp .6s ease-out}@keyframes fadeInUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.login-logo{width:100px;height:auto;margin-bottom:1.5rem;filter:drop-shadow(0 4px 8px rgba(0,0,0,.2))}.login-title{font-size:1.75rem;font-weight:700;color:#190e66;margin-bottom:.5rem;font-family:inherit}.login-subtitle{color:#6b7280;font-size:1rem;margin-bottom:2rem}.google-btn{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;padding:1rem 1.5rem;background:linear-gradient(135deg,#190e66,#2d1a99);color:#fff;border:none;border-radius:12px;font-size:1.1rem;font-weight:600;font-family:inherit;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 15px #190e664d}.google-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 8px 25px #190e6666}.google-btn:disabled{opacity:.7;cursor:not-allowed;transform:none}.google-btn svg{background:#fff;border-radius:4px;padding:2px}.error-message{background:#fef2f2;color:#dc2626;padding:1rem;border-radius:8px;margin-top:1rem;font-size:.95rem}.domain-note{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:1.5rem;color:#6b7280;font-size:.9rem}.login-footer{margin-top:2rem;padding-top:1.5rem;border-top:1px solid #e5e7eb;color:#9ca3af;font-size:.8rem}.navbar{background:linear-gradient(135deg,#190e66,#2d1a99);color:#fff;padding:0;box-shadow:0 4px 20px #190e664d,0 2px 8px #0000001a;position:sticky;top:0;z-index:1000;border-bottom:3px solid rgba(212,161,15,.3);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.navbar:before{content:"";position:absolute;inset:0;background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");opacity:.1;pointer-events:none}.nav-container{width:100%;padding:.35rem 1rem;display:flex;justify-content:space-between;align-items:center;position:relative}.nav-brand{display:flex;align-items:center;gap:1rem}.logo{height:56px;width:auto;filter:drop-shadow(0 2px 4px rgba(0,0,0,.2));transition:transform .3s ease}.logo:hover{transform:scale(1.05)}.brand-text-wrap{display:flex;flex-direction:column;line-height:1.2}.brand-text{font-size:1.625rem;font-weight:700;font-family:inherit;background:linear-gradient(135deg,#fff,#f9c065);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;letter-spacing:-.02em}.brand-powered{font-size:.625rem;font-weight:500;color:#ffffff80;letter-spacing:.05em}.user-profile-area{display:flex;align-items:center;gap:.75rem;margin-inline-start:auto;padding-inline-start:1.5rem;border-inline-start:1px solid rgba(255,255,255,.15)}.user-info{display:flex;flex-direction:column;gap:.1rem}.user-name{font-size:.9rem;font-weight:600;color:#fff;line-height:1.2}.user-email{font-size:.75rem;color:#ffffffb3}.nav-group{display:flex;align-items:center;gap:.5rem}.nav-divider-v{width:1px;height:28px;background:#fff3;flex-shrink:0}.header-icon-btn{width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:#ffffff14;border:1px solid rgba(255,255,255,.1);color:#ffffffd9;cursor:pointer;transition:all .25s ease;position:relative;font-size:1.1rem}.header-icon-btn:hover{background:#ffffff26;color:#fff;transform:translateY(-2px)}.lang-toggle{display:flex;align-items:center;gap:4px;width:auto;padding:0 10px}.lang-label{font-size:.75rem;font-weight:700;letter-spacing:.5px}.notification-badge-icon{position:absolute;top:-4px;right:-4px;width:18px;height:18px;background:linear-gradient(135deg,#ef4444,#dc2626);border-radius:50%;font-size:.65rem;font-weight:700;color:#fff;display:flex;align-items:center;justify-content:center;border:2px solid #190e66;animation:pulse-badge 2s infinite}.nav-btn{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem .75rem;border-radius:12px;font-size:.85rem;font-weight:600;font-family:inherit;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);border:none;position:relative;overflow:hidden}.nav-btn:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent);transition:left .5s}.nav-btn:hover:before{left:100%}.nav-btn-export,.navbar .nav-btn-export{background:linear-gradient(135deg,#d4a10f,#f9c065)!important;color:#190e66!important;box-shadow:0 4px 15px #d4a10f66}.nav-btn-export:hover,.navbar .nav-btn-export:hover{transform:translateY(-2px);box-shadow:0 8px 25px #d4a10f80;background:linear-gradient(135deg,#f9c065,#d4a10f)!important}.nav-btn-export:disabled{opacity:.6;cursor:not-allowed;transform:none}.nav-btn-ai,.navbar .nav-btn-ai{background:linear-gradient(135deg,#7c3aed,#a78bfa)!important;color:#fff!important;box-shadow:0 4px 15px #7c3aed66}.nav-btn-ai:hover,.navbar .nav-btn-ai:hover{transform:translateY(-2px);box-shadow:0 8px 25px #7c3aed80;background:linear-gradient(135deg,#a78bfa,#7c3aed)!important}.nav-btn-feedback{background:#f59e0b26!important;color:#fbbf24!important;border:1px solid rgba(245,158,11,.3)!important}.nav-btn-feedback:hover{background:#f59e0b40!important;transform:translateY(-2px);box-shadow:0 4px 15px #f59e0b4d}.user-dropdown{position:relative}.user-avatar{width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg,#d4a10f,#f9c065);display:flex;align-items:center;justify-content:center;font-size:1.1rem;font-weight:700;color:#190e66;cursor:pointer;transition:all .3s ease;border:2px solid rgba(255,255,255,.3);position:relative;overflow:hidden}.user-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}.user-avatar:hover{transform:scale(1.08);box-shadow:0 4px 15px #d4a10f66}.online-indicator{position:absolute;bottom:2px;right:2px;width:10px;height:10px;background:#22c55e;border-radius:50%;border:2px solid #190e66}.user-dropdown-menu{position:absolute;top:calc(100% + 8px);inset-inline-end:0;background:#fff;border-radius:16px;box-shadow:0 10px 40px #0003;padding:.75rem;min-width:240px;z-index:1100;animation:dropdownSlideIn .2s ease}.user-dropdown-menu:before{content:"";position:absolute;top:-12px;left:0;right:0;height:12px}@keyframes dropdownSlideIn{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.user-dropdown-menu .dropdown-header{display:flex;align-items:center;gap:.75rem;padding:.75rem;border-bottom:1px solid #e5e7eb;margin-bottom:.5rem}.dropdown-avatar{width:44px;height:44px;min-width:44px;border-radius:50%;background:linear-gradient(135deg,#d4a10f,#f9c065);display:flex;align-items:center;justify-content:center;font-size:1.1rem;font-weight:700;color:#190e66;overflow:hidden}.dropdown-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}.dropdown-header-info{flex:1;min-width:0}.user-dropdown-menu .dropdown-header .name{font-weight:600;color:#190e66;font-size:.95rem}.user-dropdown-menu .dropdown-header .email{font-size:.8rem;color:#6b7280;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-dropdown-menu .menu-item{display:flex;align-items:center;gap:.75rem;padding:.7rem .75rem;border-radius:10px;color:#4b5563;font-size:.875rem;cursor:pointer;transition:all .2s ease;border:none;background:transparent;width:100%;text-align:start}.user-dropdown-menu .menu-item:hover{background:#f3f4f6;color:#190e66}.user-dropdown-menu .menu-item.logout{color:#ef4444;border-top:1px solid #e5e7eb;margin-top:.5rem;padding-top:.85rem;border-radius:0 0 10px 10px}.user-dropdown-menu .menu-item.logout:hover{background:#fef2f2}.nav-hamburger{display:flex;align-items:center;justify-content:center;width:38px;height:38px;background:#ffffff1a;border:1px solid rgba(255,255,255,.15);border-radius:8px;color:#fff;cursor:pointer;transition:background .15s}.nav-hamburger:hover{background:#fff3}@media(max-width:768px){.nav-container{padding:.25rem .75rem}.logo{height:40px}.brand-text{font-size:1rem}.brand-powered{font-size:.5rem}.nav-brand{gap:.5rem}.nav-group{gap:.25rem}.nav-btn-export span:last-child{display:none}.user-info{display:none}.user-profile-area{padding-inline-start:.5rem;border-inline-start:none;gap:.5rem}.nav-divider-v,.lang-label{display:none}}.side-pane{width:var(--sidebar-width);background:linear-gradient(180deg,#100a3c,#1a1147,#0f0833);color:#fff;padding:2rem 0;position:fixed;top:var(--navbar-height);inset-inline-start:0;height:calc(100vh - var(--navbar-height));box-shadow:-8px 0 30px #00000040,inset 1px 0 #ffffff0d;z-index:900;overflow-y:auto;overflow-x:hidden;border-inline-start:3px solid rgba(212,161,15,.2);transition:width .3s ease}.side-pane.collapsed{width:var(--sidebar-collapsed-width);padding:1rem 0}.side-pane.collapsed .side-pane-header{padding:0 .75rem 1rem;margin-bottom:1rem}.side-pane.collapsed .side-pane-header:after{display:none}.side-pane.collapsed .side-pane-header button{padding:.5rem;justify-content:center;font-size:1.5rem}.side-pane.collapsed .home-text{display:none}.side-pane.collapsed .side-nav{padding:0 .5rem}.side-pane.collapsed .side-nav-link{padding:.85rem .5rem;justify-content:center;transform:none!important;padding-inline-end:.5rem!important}.side-pane.collapsed .side-nav-link span{display:none}.side-pane.collapsed .side-nav-link:before{display:none}.side-pane.collapsed .side-nav-link:after{content:attr(data-icon);font-size:1.35rem}.side-pane.collapsed .side-nav-link.active{transform:none}.sidebar-toggle{position:absolute;inset-inline-end:0;top:50%;transform:translate(50%,-50%);width:24px;height:48px;background:linear-gradient(180deg,#1a1147,#100a3c);border:1px solid rgba(212,161,15,.4);border-radius:0 6px 6px 0;color:#d4a10f;font-size:.75rem;cursor:pointer;display:flex;align-items:center;justify-content:center;z-index:1001;transition:all .3s ease;box-shadow:2px 0 8px #0003}.sidebar-toggle:hover{background:#d4a10f33;border-color:#d4a10f;width:28px}.side-pane.collapsed .sidebar-toggle{transform:translate(50%,-50%) rotate(180deg)}.side-pane::-webkit-scrollbar{width:6px}.side-pane::-webkit-scrollbar-track{background:#0003}.side-pane::-webkit-scrollbar-thumb{background:#d4a10f4d;border-radius:3px}.side-pane::-webkit-scrollbar-thumb:hover{background:#d4a10f80}.side-pane-header{margin-bottom:2.5rem;padding:0 1.75rem 1.5rem;border-bottom:1px solid rgba(255,255,255,.1);position:relative}.side-pane-header:after{content:"";position:absolute;bottom:-1px;inset-inline-end:1.75rem;width:60px;height:2px;background:linear-gradient(90deg,transparent,#d4a10f,transparent)}.side-pane-header .side-nav-link{font-size:1.35rem;font-weight:700;font-family:inherit;background:transparent!important;color:#ffffffd9;border:none!important;box-shadow:none!important;padding:.5rem 0!important;padding-inline-end:0!important;cursor:pointer;text-align:start;width:100%;display:flex;align-items:center;gap:.5rem;transform:none!important;transition:color .3s ease;text-decoration:none}.side-pane-header .side-nav-link:before{display:none!important}.side-pane-header .side-nav-link:after{display:none!important}.side-pane-header .side-nav-link:hover{background:transparent!important;color:#f9c065}.side-pane-header .side-nav-link.active{background:transparent!important;color:#f9c065;box-shadow:none!important}.side-nav{list-style:none;display:flex;flex-direction:column;gap:.5rem;padding:0 1rem}.side-nav li{position:relative}.nav-divider{margin-top:1rem;padding-top:1rem;border-top:1px solid rgba(255,255,255,.1)}.side-nav-link{width:100%;background:transparent;border:none;color:#ffffffbf;font-size:1rem;text-align:start;padding:1rem 1.25rem;border-radius:14px;display:flex;align-items:center;justify-content:space-between;gap:.75rem;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);font-family:inherit;font-weight:500;position:relative;border:1px solid transparent;text-decoration:none}.side-nav-link svg{flex-shrink:0;opacity:.85}.side-nav-link.active svg{opacity:1}.side-nav-link:before{content:"";position:absolute;inset-inline-end:0;top:50%;transform:translateY(-50%);width:4px;height:0;background:linear-gradient(180deg,#d4a10f,#f9c065);border-radius:4px 0 0 4px;transition:height .3s ease}.side-nav-link:hover{background:#ffffff14;color:#fff;transform:translate(-6px);border-color:#ffffff1a;padding-inline-end:1.5rem}.side-nav-link:hover:before{height:60%}.side-nav-link.active{background:linear-gradient(135deg,#d4a10f40,#f9c06526);color:#f9c065;font-weight:600;box-shadow:0 4px 15px #d4a10f40,inset 0 0 0 1px #d4a10f4d;transform:translate(-8px);padding-inline-end:1.5rem}.side-nav-link.active:before{height:70%;background:linear-gradient(180deg,#d4a10f,#f9c065);box-shadow:0 0 10px #d4a10f80}.side-nav-link.active:after{display:none}.side-nav-link span{flex:1;text-align:start}.side-nav-badge{flex:0 0 auto;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:#ef4444;color:#fff;font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center;line-height:1;box-shadow:0 2px 6px #ef444466}.side-pane.collapsed .side-nav-badge{position:absolute;top:4px;inset-inline-end:4px;min-width:16px;height:16px;font-size:9px;padding:0 3px}.home-nav-item{margin-bottom:.5rem;padding-bottom:.5rem}.home-nav-item .home-link{font-size:1.15rem;font-weight:600;background:linear-gradient(135deg,#190e6699,#190e6666);border:1px solid rgba(212,161,15,.2)}.home-nav-item .home-link:hover{background:linear-gradient(135deg,#d4a10f33,#190e6680);border-color:#d4a10f66}.home-nav-item .home-link.active{background:linear-gradient(135deg,#d4a10f4d,#f9c06533);border-color:#d4a10f80}[dir=ltr] .side-pane{box-shadow:8px 0 30px #00000040,inset -1px 0 #ffffff0d}[dir=ltr] .sidebar-toggle{transform:translate(-50%,-50%);border-radius:6px 0 0 6px;box-shadow:-2px 0 8px #0003}[dir=ltr] .side-pane.collapsed .sidebar-toggle{transform:translate(-50%,-50%) rotate(180deg)}[dir=ltr] .side-nav-link:before{border-radius:0 4px 4px 0}[dir=ltr] .side-nav-link:hover{transform:translate(6px)}[dir=ltr] .side-nav-link.active{transform:translate(8px)}[dir=ltr] .side-nav-link.active:after{display:none}.side-pane-backdrop{display:none}@media(max-width:768px){.side-pane{top:0;height:100vh;transform:translate(100%);transition:transform .3s cubic-bezier(.4,0,.2,1);width:280px;z-index:1001;padding-top:0}[dir=ltr] .side-pane{transform:translate(-100%)}.side-pane.mobile-open{transform:translate(0)}.side-pane-mobile-header{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1rem;border-bottom:1px solid rgba(255,255,255,.1);position:sticky;top:0;background:inherit;z-index:1}.side-pane-mobile-actions{display:flex;align-items:center;gap:.25rem}.side-pane-mobile-btn{display:flex;align-items:center;justify-content:center;width:32px;height:32px;background:#ffffff14;border:none;border-radius:8px;color:#fffc;cursor:pointer;transition:background .15s}.side-pane-mobile-btn:hover{background:#fff3}.side-pane-close{display:flex;align-items:center;justify-content:center;width:32px;height:32px;background:#ffffff1a;border:none;border-radius:8px;color:#fffc;cursor:pointer}.side-pane-close:hover{background:#fff3}.side-pane-backdrop{display:block;position:fixed;inset:0;background:#00000080;z-index:1000;animation:sideBackdropFade .2s ease}@keyframes sideBackdropFade{0%{opacity:0}to{opacity:1}}}@media(min-width:769px){.side-pane-mobile-header{display:none}}.ai-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;padding:48px 20px}.ai-loading-orb{position:relative;width:64px;height:64px}.ai-loading-orb:before,.ai-loading-orb:after{content:"";position:absolute;inset:0;border-radius:50%;animation:orb-pulse 2s ease-in-out infinite}.ai-loading-orb:before{background:radial-gradient(circle,rgba(139,92,246,.35),transparent 70%);animation-delay:0s}.ai-loading-orb:after{background:radial-gradient(circle,rgba(6,182,212,.25),transparent 70%);animation-delay:.6s}.ai-loading-icon{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#8b5cf6;animation:orb-breathe 2s ease-in-out infinite;z-index:1}.ai-loading-dots{display:flex;align-items:center;gap:6px}.ai-loading-dot{width:6px;height:6px;border-radius:50%;background:#8b5cf6;animation:dot-bounce 1.4s ease-in-out infinite}.ai-loading-dot:nth-child(2){animation-delay:.16s;background:#a78bfa}.ai-loading-dot:nth-child(3){animation-delay:.32s;background:#06b6d4}.ai-loading-text{font-size:14px;font-weight:500;color:#6b7280;animation:text-fade 3s ease-in-out infinite;min-height:20px;text-align:center}.ai-loading-bar{width:120px;height:3px;border-radius:3px;background:#e5e7eb;overflow:hidden}.ai-loading-bar-fill{height:100%;border-radius:3px;background:linear-gradient(90deg,#8b5cf6,#06b6d4,#8b5cf6);background-size:200% 100%;animation:bar-shimmer 1.8s ease-in-out infinite}@keyframes orb-pulse{0%,to{transform:scale(1);opacity:.5}50%{transform:scale(1.35);opacity:1}}@keyframes orb-breathe{0%,to{transform:scale(1)}50%{transform:scale(1.1)}}@keyframes dot-bounce{0%,80%,to{transform:translateY(0);opacity:.4}40%{transform:translateY(-8px);opacity:1}}@keyframes text-fade{0%,to{opacity:.6}50%{opacity:1}}@keyframes bar-shimmer{0%{width:15%;background-position:200% 0}50%{width:65%}to{width:15%;background-position:-200% 0}}.transcription-tool{display:flex;flex-direction:column;gap:16px;padding:24px}.tt-mode-toggle{display:flex;background:#f1f5f9;border-radius:10px;padding:4px;gap:4px}.tt-mode-btn{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 16px;border:none;border-radius:8px;background:transparent;color:#6b7280;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.tt-mode-btn.active{background:linear-gradient(135deg,#8b5cf6,#6366f1);color:#fff;box-shadow:0 2px 8px #8b5cf640}.tt-mode-btn:not(.active):hover{background:#e2e8f0;color:#374151}.tt-upload-section,.tt-paste-section,.tt-url-section{display:flex;flex-direction:column;gap:12px}.tt-url-textarea-wrap{display:flex;flex-direction:column;gap:0;border:1px solid #d1d5db;border-radius:10px;background:#f8fafc;overflow:hidden;transition:border-color .2s}.tt-url-textarea-wrap:focus-within{border-color:#8b5cf6;box-shadow:0 0 0 3px #8b5cf61a}.tt-url-textarea{width:100%;height:150px;padding:14px;border:none;background:transparent;color:#1f2937;font-size:14px;font-family:inherit;line-height:1.7;resize:none;outline:none;direction:rtl;box-sizing:border-box}.tt-url-textarea::placeholder{color:#9ca3af}.tt-url-detected{display:flex;align-items:center;gap:8px;padding:8px 12px;border-top:1px solid #e5e7eb;background:#f1f5f9}.tt-url-detected-link{flex:1;font-size:12px;color:#6366f1;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:monospace}.tt-url-type-badge{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:6px;flex-shrink:0;background:#ede9fe;color:#7c3aed}.tt-url-type-youtube{background:#ff000014;color:#dc2626}.tt-url-type-instagram{background:#e1306c14;color:#e1306c}.tt-url-type-tiktok{background:#0000000f;color:#111}.tt-url-type-facebook{background:#1877f214;color:#1877f2}.tt-url-type-twitter{background:#1d9bf014;color:#1d9bf0}.tt-url-type-image{background:#10b98114;color:#059669}.tt-url-type-pdf{background:#ef444414;color:#dc2626}.tt-url-type-webpage{background:#6366f114;color:#6366f1}.tt-url-clear{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border:none;border-radius:6px;background:#6b728014;color:#6b7280;cursor:pointer;flex-shrink:0;transition:all .15s}.tt-url-clear:hover{background:#ef44441a;color:#ef4444}.tt-url-hints{display:flex;flex-wrap:wrap;gap:8px;padding:0 2px}.tt-url-hint-item{display:flex;align-items:center;gap:4px;font-size:11px;color:#9ca3af;font-weight:500}.tt-drop-zone{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:44px 20px;border:2px dashed #d1d5db;border-radius:14px;background:#f8fafc;cursor:pointer;transition:all .2s}.tt-drop-zone:hover{border-color:#c4b5fd;background:#faf5ff}.tt-drop-zone.drag-active{border-color:#8b5cf6;background:#ede9fe;box-shadow:0 0 20px #8b5cf61a}.tt-drop-icon{color:#8b5cf6;opacity:.7}.tt-drop-text{color:#374151;font-size:15px;font-weight:500;margin:0}.tt-drop-hint{color:#9ca3af;font-size:12px;margin:0}.tt-file-preview{display:flex;align-items:center;gap:12px;padding:12px;background:#f8fafc;border:1px solid #e5e7eb;border-radius:12px}.tt-preview-image{width:64px;height:64px;object-fit:cover;border-radius:8px;border:1px solid #e5e7eb}.tt-preview-icon{width:64px;height:64px;display:flex;align-items:center;justify-content:center;background:#ede9fe;border-radius:8px;color:#8b5cf6}.tt-file-info{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}.tt-file-name{color:#1f2937;font-size:14px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tt-file-size{color:#9ca3af;font-size:12px}.tt-remove-btn{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border:none;border-radius:8px;background:#ef444414;color:#ef4444;cursor:pointer;transition:all .2s;flex-shrink:0}.tt-remove-btn:hover{background:#ef444426}.tt-extract-btn{display:flex;align-items:center;justify-content:center;gap:8px;padding:12px 20px;border:none;border-radius:10px;background:linear-gradient(135deg,#8b5cf6,#6366f1);color:#fff;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s}.tt-extract-btn:hover:not(:disabled){box-shadow:0 4px 15px #8b5cf659;transform:translateY(-1px)}.tt-extract-btn:disabled{opacity:.5;cursor:not-allowed}.tt-paste-textarea{width:100%;min-height:160px;padding:14px;border:1px solid #d1d5db;border-radius:10px;background:#f8fafc;color:#1f2937;font-size:14px;font-family:inherit;line-height:1.7;resize:vertical;direction:rtl;box-sizing:border-box;transition:border-color .2s}.tt-paste-textarea:focus{outline:none;border-color:#8b5cf6;box-shadow:0 0 0 3px #8b5cf61a}.tt-paste-textarea::placeholder{color:#9ca3af}.tt-error{padding:10px 14px;background:#ef44440f;border:1px solid rgba(239,68,68,.2);border-radius:10px;color:#dc2626;font-size:13px}.tt-result{display:flex;flex-direction:column;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden}.tt-result-header{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;background:#f8fafc;border-bottom:1px solid #e5e7eb;color:#374151;font-size:13px;font-weight:600}.tt-result-actions{display:flex;gap:6px}.tt-action-btn{display:flex;align-items:center;gap:4px;padding:5px 10px;border:1px solid #e5e7eb;border-radius:6px;background:#fff;color:#6b7280;font-size:12px;cursor:pointer;transition:all .2s}.tt-action-btn:hover{background:#f0f4ff;border-color:#c4b5fd;color:#7c3aed}.tt-result-content{width:100%;min-height:300px;padding:16px;border:none;background:#fff;color:#1f2937;font-size:14.5px;font-family:inherit;line-height:2;letter-spacing:.01em;white-space:pre-wrap;resize:vertical;outline:none;box-sizing:border-box;overflow-y:auto}.tt-result-content:focus{background:#fefefe}.tt-media-hint{padding:8px 12px;background:#f59e0b0f;border:1px solid rgba(245,158,11,.2);border-radius:8px;color:#92400e;font-size:12.5px;line-height:1.6}.tt-result-format-toggle{display:flex;background:#f1f5f9;padding:4px;gap:3px;border-bottom:1px solid #e5e7eb}.tt-format-toggle{display:flex;background:#f1f5f9;border-radius:8px;padding:3px;gap:3px}.tt-format-btn{display:flex;align-items:center;justify-content:center;gap:6px;padding:7px 14px;border:none;border-radius:6px;background:transparent;color:#6b7280;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s}.tt-format-btn.active{background:#fff;color:#7c3aed;box-shadow:0 1px 4px #00000014}.tt-format-btn:not(.active):hover{color:#374151}.caption-tool{display:grid;grid-template-columns:1fr .75fr}.ct-config-col{display:flex;flex-direction:column;padding:24px 28px;border-inline-end:1px solid #e5e7eb}.ct-preview-col{display:flex;flex-direction:column;background:#fafafe}.ct-preview-sticky{display:flex;flex-direction:column;min-height:100%}.ct-empty-preview{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;color:#d1d5db;padding:60px 20px;text-align:center}.ct-empty-preview p{margin:0;font-size:14px;color:#9ca3af}.ct-settings{display:flex;flex-direction:column;gap:22px}.ct-field{display:flex;flex-direction:column;gap:8px}.ct-label{display:flex;align-items:center;justify-content:space-between;color:#374151;font-size:13px;font-weight:600}.ct-label-optional{gap:8px}.ct-optional{color:#9ca3af;font-weight:400;font-size:11px}.ct-select{width:100%;padding:11px 14px;border:1px solid #d1d5db;border-radius:10px;background:#f8fafc;color:#1f2937;font-size:14px;font-family:inherit;direction:rtl;cursor:pointer;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:left 12px center;transition:border-color .2s}.ct-select:focus{outline:none;border-color:#8b5cf6;box-shadow:0 0 0 3px #8b5cf61a}.ct-select:disabled{opacity:.6;cursor:not-allowed}.ct-select option{color:#1f2937;background:#fff}.ct-textarea{width:100%;min-height:200px;padding:14px;border:1px solid #d1d5db;border-radius:10px;background:#f8fafc;color:#1f2937;font-size:14px;font-family:inherit;line-height:1.7;resize:vertical;direction:rtl;box-sizing:border-box;transition:border-color .2s}.ct-textarea:focus{outline:none;border-color:#8b5cf6;box-shadow:0 0 0 3px #8b5cf61a}.ct-textarea::placeholder{color:#9ca3af}.ct-textarea:disabled{opacity:.6;cursor:not-allowed}.ct-select-all{background:none;border:none;color:#8b5cf6;font-size:12px;cursor:pointer;padding:0;font-weight:500}.ct-select-all:hover{text-decoration:underline}.ct-select-all:disabled{opacity:.5;cursor:not-allowed}.ct-platforms{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.ct-platform-chip{display:flex;align-items:center;gap:8px;padding:10px 12px;border:2px solid #e5e7eb;border-radius:10px;background:#fff;color:#6b7280;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s;justify-content:center}.ct-platform-chip:hover{border-color:var(--platform-color);color:var(--platform-color);background:#fafafa}.ct-platform-chip.selected{border-color:var(--platform-color);background:var(--platform-color);color:#fff;box-shadow:0 3px 12px color-mix(in srgb,var(--platform-color) 30%,transparent)}.ct-platform-chip:disabled{opacity:.6;cursor:not-allowed}.ct-tone-slider-wrap{display:flex;flex-direction:column;gap:6px;padding:0 2px}.ct-tone-slider{width:100%;height:8px;border-radius:4px;appearance:none;background:linear-gradient(to left,#22c55e,#3b82f6,#8b5cf6,#a855f7,#ec4899);outline:none;cursor:pointer}.ct-tone-slider::-webkit-slider-thumb{appearance:none;width:24px;height:24px;border-radius:50%;background:#fff;border:3px solid #8b5cf6;box-shadow:0 2px 8px #00000026;cursor:pointer;transition:box-shadow .2s}.ct-tone-slider::-webkit-slider-thumb:hover{box-shadow:0 2px 12px #8b5cf666}.ct-tone-slider::-moz-range-thumb{width:24px;height:24px;border-radius:50%;background:#fff;border:3px solid #8b5cf6;box-shadow:0 2px 8px #00000026;cursor:pointer}.ct-tone-labels{display:flex;justify-content:space-between;color:#6b7280;font-size:11px;font-weight:500}.ct-tone-presets{display:flex;gap:6px;flex-wrap:wrap;justify-content:center}.ct-tone-preset{padding:6px 14px;border:1px solid #e5e7eb;border-radius:20px;background:#fff;color:#6b7280;font-size:12px;font-weight:500;cursor:pointer;transition:all .2s}.ct-tone-preset:hover{border-color:#c4b5fd;color:#7c3aed;background:#faf5ff}.ct-tone-preset.active{background:#8b5cf6;border-color:#8b5cf6;color:#fff;box-shadow:0 2px 8px #8b5cf640}.ct-tone-preset:disabled{opacity:.6;cursor:not-allowed}.ct-tone-desc{color:#6b7280;font-size:12px;margin:0;text-align:center;font-style:italic}.ct-url-input{display:flex;align-items:center;gap:10px;padding:10px 14px;border:1px solid #d1d5db;border-radius:10px;background:#f8fafc;color:#9ca3af;transition:border-color .2s}.ct-url-input:focus-within{border-color:#8b5cf6;box-shadow:0 0 0 3px #8b5cf61a}.ct-url-input input{flex:1;border:none;background:transparent;color:#1f2937;font-size:14px;font-family:inherit;outline:none;direction:ltr}.ct-url-input input::placeholder{color:#9ca3af}.ct-lang-selector{display:flex;gap:8px}.ct-lang-chip{padding:8px 20px;border:2px solid #e5e7eb;border-radius:10px;background:#fff;color:#6b7280;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s}.ct-lang-chip:hover{border-color:#c4b5fd;color:#7c3aed;background:#faf5ff}.ct-lang-chip.selected{background:#8b5cf6;border-color:#8b5cf6;color:#fff;box-shadow:0 2px 8px #8b5cf640}.ct-lang-chip:disabled{opacity:.6;cursor:not-allowed}.ct-generate-btn{display:flex;align-items:center;justify-content:center;gap:8px;padding:14px 24px;border:none;border-radius:12px;background:linear-gradient(135deg,#8b5cf6,#06b6d4);color:#fff;font-size:16px;font-weight:600;cursor:pointer;transition:all .2s;margin-top:4px}.ct-generate-btn:hover:not(:disabled){box-shadow:0 4px 20px #8b5cf659;transform:translateY(-1px)}.ct-generate-btn:disabled{opacity:.5;cursor:not-allowed}.ct-results{display:flex;flex-direction:column;gap:16px;padding:24px}.ct-platform-tabs{display:flex;gap:4px;background:#f1f5f9;border-radius:12px;padding:4px;overflow-x:auto}.ct-platform-tab{display:flex;align-items:center;gap:6px;padding:9px 16px;border:none;border-radius:9px;background:transparent;color:#6b7280;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s;white-space:nowrap;flex:1;justify-content:center}.ct-platform-tab:hover{background:#e2e8f0;color:#374151}.ct-platform-tab.active{background:var(--platform-color);color:#fff;box-shadow:0 2px 8px color-mix(in srgb,var(--platform-color) 35%,transparent)}.ct-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:60px 20px;color:#8b5cf6;font-size:14px}.ct-result-content{display:flex;flex-direction:column;gap:14px}.ct-caption-box{border:1px solid #e5e7eb;border-radius:12px;overflow:hidden}.ct-caption-header{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;background:#f8fafc;border-bottom:1px solid #e5e7eb;color:#374151;font-size:13px;font-weight:600}.ct-caption-actions{display:flex;gap:6px}.ct-action-btn{display:flex;align-items:center;gap:4px;padding:5px 10px;border:1px solid #e5e7eb;border-radius:6px;background:#fff;color:#6b7280;font-size:12px;cursor:pointer;transition:all .2s}.ct-action-btn:hover{background:#f0f4ff;border-color:#c4b5fd;color:#7c3aed}.ct-action-btn:disabled{opacity:.5;cursor:not-allowed}.ct-caption-text{width:100%;min-height:160px;padding:16px;border:none;background:#fff;color:#1f2937;font-size:14px;font-family:inherit;line-height:1.8;resize:vertical;direction:rtl;box-sizing:border-box}.ct-caption-text:focus{outline:none;background:#faf5ff}.ct-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.ct-metric{display:flex;flex-direction:column;align-items:center;gap:4px;padding:12px 10px;border-radius:10px;background:#f8fafc;border:1px solid #e5e7eb}.ct-metric-value{color:#1f2937;font-size:20px;font-weight:700}.ct-metric-label{color:#6b7280;font-size:11px;font-weight:500}.ct-metric-status.ct-status-ok{border-color:#22c55e66;background:#22c55e0f}.ct-metric-status.ct-status-ok .ct-metric-value,.ct-metric-status.ct-status-ok .ct-metric-label{color:#16a34a}.ct-metric-status.ct-status-warn{border-color:#f59e0b66;background:#f59e0b0f}.ct-metric-status.ct-status-warn .ct-metric-value,.ct-metric-status.ct-status-warn .ct-metric-label{color:#d97706}.ct-metric-status.ct-status-over{border-color:#ef444466;background:#ef44440f}.ct-metric-status.ct-status-over .ct-metric-value,.ct-metric-status.ct-status-over .ct-metric-label{color:#dc2626}.ct-metric-status.ct-status-short{border-color:#3b82f666;background:#3b82f60f}.ct-metric-status.ct-status-short .ct-metric-value,.ct-metric-status.ct-status-short .ct-metric-label{color:#2563eb}.ct-length-rating{display:flex;flex-direction:column;gap:8px;padding:14px;background:#f8fafc;border:1px solid #e5e7eb;border-radius:12px}.ct-length-bar-header{display:flex;align-items:center;justify-content:space-between}.ct-length-spec{color:#6b7280;font-size:12px;font-weight:500}.ct-length-badge{padding:2px 10px;border-radius:12px;font-size:11px;font-weight:600}.ct-badge-ok{background:#22c55e1a;color:#16a34a}.ct-badge-short{background:#3b82f61a;color:#2563eb}.ct-badge-warn{background:#f59e0b1a;color:#d97706}.ct-badge-over{background:#ef44441a;color:#dc2626}.ct-length-bar-track{position:relative;height:8px;border-radius:4px;overflow:hidden;background:#e5e7eb}.ct-length-bar-zones{position:absolute;inset:0;display:flex;border-radius:4px;overflow:hidden}.ct-zone-short{background:#dbeafe}.ct-zone-optimal{background:#dcfce7}.ct-zone-long{background:#fef3c7}.ct-length-bar-fill{position:absolute;top:0;left:0;height:100%;border-radius:4px;transition:width .3s ease;z-index:1}.ct-fill-ok{background:linear-gradient(90deg,#22c55e,#16a34a)}.ct-fill-short{background:linear-gradient(90deg,#3b82f6,#2563eb)}.ct-fill-warn{background:linear-gradient(90deg,#f59e0b,#d97706)}.ct-fill-over{background:linear-gradient(90deg,#ef4444,#dc2626)}.ct-length-bar-thumb{position:absolute;top:-3px;width:14px;height:14px;border-radius:50%;background:#fff;border:2px solid #8b5cf6;box-shadow:0 1px 4px #00000026;transform:translate(-50%);z-index:2;transition:left .3s ease}.ct-length-bar-labels{display:flex;justify-content:space-between;color:#9ca3af;font-size:10px;direction:ltr}.ct-hashtags{border:1px solid #e5e7eb;border-radius:12px;overflow:hidden}.ct-hashtags-header{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;background:#f8fafc;border-bottom:1px solid #e5e7eb;color:#374151;font-size:13px;font-weight:600}.ct-hashtag-chips{display:flex;flex-wrap:wrap;gap:6px;padding:12px 14px;direction:rtl}.ct-hashtag-chip{padding:5px 12px;border-radius:20px;background:#ede9fe;color:#7c3aed;font-size:12px;font-weight:500;direction:ltr}.ct-keyword-chip{padding:5px 12px;border-radius:20px;background:#e0f2fe;color:#0369a1;font-size:12px;font-weight:500}.ct-bottom-actions{display:flex;gap:8px;padding-top:12px;border-top:1px solid #e5e7eb}.ct-copy-all-btn{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;padding:11px;border:none;border-radius:10px;background:linear-gradient(135deg,#8b5cf6,#6366f1);color:#fff;font-size:13px;font-weight:600;cursor:pointer;transition:all .2s}.ct-copy-all-btn:hover{box-shadow:0 3px 12px #8b5cf64d;transform:translateY(-1px)}@media(max-width:900px){.caption-tool{grid-template-columns:1fr}.ct-config-col{border-inline-end:none;border-bottom:1px solid #e5e7eb}.ct-platforms{grid-template-columns:repeat(2,1fr)}}.text-formatter-tool{display:flex;flex-direction:column;flex:1;overflow-y:auto;padding:20px}.tf-input{display:flex;flex-direction:column;gap:22px}.tf-field{display:flex;flex-direction:column;gap:8px}.tf-label{display:flex;align-items:center;justify-content:space-between;color:#374151;font-size:13px;font-weight:600}.tf-modes{display:flex;flex-wrap:wrap;gap:8px}.tf-modes .tf-mode-chip{flex:0 1 calc(50% - 4px);min-width:calc(50% - 4px);max-width:calc(50% - 4px)}.tf-mode-chip{display:flex;align-items:center;gap:10px;padding:12px 14px;border:2px solid #e5e7eb;border-radius:12px;background:#fff;color:#6b7280;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s;text-align:start}.tf-mode-chip:hover{border-color:#c4b5fd;color:#7c3aed;background:#faf5ff}.tf-mode-chip.selected{border-color:#8b5cf6;background:linear-gradient(135deg,#8b5cf6,#6366f1);color:#fff;box-shadow:0 3px 12px #8b5cf640}.tf-mode-icon{width:32px;height:32px;border-radius:8px;background:#8b5cf61a;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:#8b5cf6}.tf-mode-chip.selected .tf-mode-icon{background:#fff3;color:#fff}.tf-mode-info{display:flex;flex-direction:column;gap:2px;min-width:0}.tf-mode-name{font-weight:600;font-size:13px}.tf-mode-desc{font-size:11px;opacity:.7;line-height:1.3}.tf-textarea-wrap{position:relative}.tf-textarea{width:100%;min-height:180px;padding:14px 14px 30px;border:1px solid #d1d5db;border-radius:10px;background:#f8fafc;color:#1f2937;font-size:14px;font-family:inherit;line-height:1.7;resize:vertical;direction:rtl;box-sizing:border-box;transition:border-color .2s}.tf-textarea:focus{outline:none;border-color:#8b5cf6;box-shadow:0 0 0 3px #8b5cf61a}.tf-textarea::placeholder{color:#9ca3af}.tf-char-count{position:absolute;bottom:8px;left:14px;color:#9ca3af;font-size:11px;pointer-events:none}.tf-samples{display:flex;gap:6px;flex-wrap:wrap}.tf-sample-btn{padding:6px 14px;border:1px solid #e5e7eb;border-radius:20px;background:#fff;color:#6b7280;font-size:12px;font-weight:500;cursor:pointer;transition:all .2s}.tf-sample-btn:hover{border-color:#c4b5fd;color:#7c3aed;background:#faf5ff}.tf-format-btn{display:flex;align-items:center;justify-content:center;gap:8px;padding:14px 24px;border:none;border-radius:12px;background:linear-gradient(135deg,#8b5cf6,#06b6d4);color:#fff;font-size:16px;font-weight:600;font-family:inherit;cursor:pointer;transition:all .2s;margin-top:4px}.tf-format-btn:hover:not(:disabled){box-shadow:0 4px 20px #8b5cf659;transform:translateY(-1px)}.tf-format-btn:disabled{opacity:.5;cursor:not-allowed}.tf-results{display:flex;flex-direction:column;gap:16px}.tf-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:60px 20px;color:#8b5cf6;font-size:14px}.tf-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.tf-metric{display:flex;flex-direction:column;align-items:center;gap:4px;padding:12px 10px;border-radius:10px;background:#f8fafc;border:1px solid #e5e7eb}.tf-metric-value{color:#1f2937;font-size:20px;font-weight:700}.tf-metric-label{color:#6b7280;font-size:11px;font-weight:500}.tf-metric-changes{border-color:#8b5cf666;background:#8b5cf60f}.tf-metric-changes .tf-metric-value,.tf-metric-changes .tf-metric-label{color:#7c3aed}.tf-formatted-box{border:1px solid #e5e7eb;border-radius:12px;overflow:hidden}.tf-formatted-header{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;background:#f8fafc;border-bottom:1px solid #e5e7eb;color:#374151;font-size:13px;font-weight:600}.tf-formatted-actions{display:flex;gap:6px}.tf-action-btn{display:flex;align-items:center;gap:4px;padding:5px 10px;border:1px solid #e5e7eb;border-radius:6px;background:#fff;color:#6b7280;font-size:12px;cursor:pointer;transition:all .2s}.tf-action-btn:hover{background:#f0f4ff;border-color:#c4b5fd;color:#7c3aed}.tf-action-btn:disabled{opacity:.5;cursor:not-allowed}.tf-formatted-text{width:100%;min-height:180px;padding:16px;border:none;background:#fff;color:#1f2937;font-size:14px;font-family:inherit;line-height:1.8;resize:vertical;direction:rtl;box-sizing:border-box}.tf-formatted-text:focus{outline:none;background:#faf5ff}.tf-changes-card{border:1px solid #e5e7eb;border-radius:12px;overflow:hidden}.tf-changes-header{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;background:#f8fafc;border-bottom:1px solid #e5e7eb;color:#374151;font-size:13px;font-weight:600;cursor:pointer;transition:background .2s}.tf-changes-header:hover{background:#f1f5f9}.tf-changes-toggle{display:flex;align-items:center;gap:6px}.tf-changes-count{padding:2px 8px;border-radius:10px;background:#ede9fe;color:#7c3aed;font-size:11px;font-weight:600}.tf-change-list{max-height:300px;overflow-y:auto;padding:8px 14px}.tf-change-row{display:flex;align-items:flex-start;gap:8px;padding:8px 0;border-bottom:1px solid #f3f4f6;font-size:13px;line-height:1.6}.tf-change-row:last-child{border-bottom:none}.tf-change-badge{padding:2px 8px;border-radius:6px;font-size:10px;font-weight:600;white-space:nowrap;flex-shrink:0;margin-top:2px}.tf-change-content{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;direction:rtl}.tf-change-original{color:#dc2626;text-decoration:line-through;background:#fef2f2;padding:1px 6px;border-radius:4px}.tf-change-arrow{color:#9ca3af;flex-shrink:0}.tf-change-corrected{color:#16a34a;background:#f0fdf4;padding:1px 6px;border-radius:4px}.tf-no-changes{padding:20px;text-align:center;color:#6b7280;font-size:13px}.tf-error{padding:12px 16px;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;color:#dc2626;font-size:13px;text-align:center}.tf-bottom-actions{display:flex;gap:8px;padding-top:12px;border-top:1px solid #e5e7eb}.tf-copy-btn{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;padding:11px;border:none;border-radius:10px;background:linear-gradient(135deg,#8b5cf6,#6366f1);color:#fff;font-size:13px;font-weight:600;font-family:inherit;cursor:pointer;transition:all .2s}.tf-copy-btn:hover{box-shadow:0 3px 12px #8b5cf64d;transform:translateY(-1px)}.tf-back-btn{display:flex;align-items:center;gap:4px;padding:11px 16px;border:1px solid #e5e7eb;border-radius:10px;background:#fff;color:#374151;font-size:13px;font-weight:500;font-family:inherit;cursor:pointer;transition:all .2s}.tf-back-btn:hover{background:#f8fafc;border-color:#c4b5fd;color:#7c3aed}.it-fullpage{display:flex;flex:1;min-height:0;overflow:hidden}.it-left-pane{flex:1;display:flex;flex-direction:column;background:#f8fafc;border-inline-end:1px solid #e5e7eb;min-width:0;overflow:hidden}.it-drop-zone{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;flex:1;margin:24px;border:2px dashed #d1d5db;border-radius:16px;background:#fff;cursor:pointer;transition:all .2s}.it-drop-zone:hover{border-color:#67e8f9;background:#ecfeff}.it-drop-zone.drag-active{border-color:#06b6d4;background:#cffafe;box-shadow:0 0 24px #06b6d41f}.it-drop-icon{color:#06b6d4;opacity:.6}.it-drop-text{color:#374151;font-size:16px;font-weight:500;margin:0}.it-drop-hint{color:#9ca3af;font-size:13px;margin:0}.it-original-display{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}.it-original-header{display:flex;align-items:center;gap:12px;padding:12px 20px;background:#f0fdfa;border-bottom:1px solid #e5e7eb;flex-shrink:0}.it-original-label{font-size:14px;font-weight:700;color:#0f766e}.it-file-meta{flex:1;display:flex;align-items:center;gap:8px;min-width:0}.it-file-name{color:#6b7280;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.it-file-size{color:#9ca3af;font-size:12px;flex-shrink:0}.it-remove-btn{width:30px;height:30px;display:flex;align-items:center;justify-content:center;border:none;border-radius:8px;background:#ef444414;color:#ef4444;cursor:pointer;transition:all .2s;flex-shrink:0}.it-remove-btn:hover{background:#ef444426}.it-remove-btn:disabled{opacity:.3;cursor:not-allowed}.it-original-image-wrap{flex:1;overflow:auto;display:flex;align-items:flex-start;justify-content:center;padding:20px}.it-original-image{max-width:100%;max-height:100%;object-fit:contain;border-radius:8px;box-shadow:0 2px 12px #00000014}.it-right-pane{flex:1;display:flex;flex-direction:column;min-width:0;overflow:hidden;background:#fff}.it-steps-bar{display:flex;align-items:center;justify-content:center;gap:8px;padding:14px 20px;background:#fafbfc;border-bottom:1px solid #e5e7eb;flex-shrink:0}.it-step-indicator{display:flex;align-items:center;gap:6px;opacity:.4;transition:all .3s}.it-step-indicator.active{opacity:1}.it-step-indicator.done .it-step-num{background:#10b981;border-color:#10b981}.it-step-num{width:26px;height:26px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;color:#fff;background:#06b6d4;border:2px solid #06b6d4;flex-shrink:0}.it-step-indicator:not(.active) .it-step-num{background:#d1d5db;border-color:#d1d5db}.it-step-label{font-size:13px;font-weight:600;color:#374151}.it-step-indicator:not(.active) .it-step-label{color:#9ca3af}.it-step-arrow{color:#d1d5db;flex-shrink:0}.it-right-content{flex:1;overflow-y:auto;padding:20px;display:flex;flex-direction:column;gap:16px;min-height:0}.it-config-section{display:flex;flex-direction:column;gap:16px}.it-lang-config{display:flex;flex-direction:column;gap:14px}.it-lang-row{display:flex;flex-direction:column;gap:6px}.it-lang-label{font-size:13px;font-weight:600;color:#374151}.it-lang-pills{display:flex;gap:8px;flex-wrap:wrap}.it-pill{padding:7px 16px;border-radius:20px;border:1px solid #e5e7eb;background:#f8fafc;color:#6b7280;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s;font-family:inherit}.it-pill:hover:not(:disabled){border-color:#67e8f9;background:#ecfeff;color:#0891b2}.it-pill.active{background:linear-gradient(135deg,#06b6d4,#0891b2);color:#fff;border-color:transparent;box-shadow:0 2px 8px #06b6d440}.it-pill:disabled{opacity:.3;cursor:not-allowed}.it-logo-presets{display:flex;flex-direction:column;gap:8px;padding:6px 0 0}.it-preset-check{display:flex;align-items:center;gap:8px;font-size:13px;color:#374151;cursor:pointer}.it-preset-check input[type=checkbox]{accent-color:#06b6d4;width:16px;height:16px}.it-translate-btn{display:flex;align-items:center;justify-content:center;gap:8px;padding:12px 20px;border:none;border-radius:10px;background:linear-gradient(135deg,#06b6d4,#0891b2);color:#fff;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s;font-family:inherit}.it-translate-btn:hover:not(:disabled){box-shadow:0 4px 15px #06b6d459;transform:translateY(-1px)}.it-translate-btn:disabled{opacity:.5;cursor:not-allowed}.it-error{padding:10px 14px;background:#ef44440f;border:1px solid rgba(239,68,68,.2);border-radius:10px;color:#dc2626;font-size:13px}.it-preview-section{display:flex;flex-direction:column;gap:12px}.it-text-preview{display:flex;flex-direction:column;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden}.it-text-preview-header{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;background:#f0fdfa;border-bottom:1px solid #e5e7eb;color:#0f766e;font-size:13px;font-weight:600}.it-text-block-input{width:100%;padding:10px 14px;border:none;background:#fff;color:#1f2937;font-size:13px;font-weight:500;font-family:inherit;line-height:1.8;resize:vertical;min-height:60px;box-sizing:border-box}.it-text-block-input:focus{outline:none;background:#f0fdfa}.it-result-section{display:flex;flex-direction:column;gap:16px}.it-result{display:flex;flex-direction:column;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden}.it-result-header{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;background:#f0fdfa;border-bottom:1px solid #e5e7eb;color:#0f766e;font-size:13px;font-weight:600}.it-result-actions{display:flex;gap:6px}.it-action-btn{display:flex;align-items:center;gap:4px;padding:5px 10px;border:1px solid #e5e7eb;border-radius:6px;background:#fff;color:#6b7280;font-size:12px;cursor:pointer;transition:all .2s;font-family:inherit}.it-action-btn:hover{background:#ecfeff;border-color:#67e8f9;color:#0891b2}.it-result-image{max-width:100%;display:block;margin:0 auto}.it-target-tabs{display:flex;gap:0;border-bottom:1px solid #e5e7eb}.it-target-tab{flex:1;padding:8px 12px;border:none;background:#f8fafc;color:#6b7280;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s;font-family:inherit}.it-target-tab.active{background:#fff;color:#0891b2;box-shadow:inset 0 -2px #06b6d4}.it-translated-text-section{display:flex;flex-direction:column;gap:8px}.it-translated-text-block{border:1px solid #e5e7eb;border-radius:10px;overflow:hidden}.it-translated-text-block.hidden{display:none}.it-translated-text-header{display:flex;align-items:center;gap:6px;padding:8px 14px;background:#f0fdfa;border-bottom:1px solid #e5e7eb;color:#0f766e;font-size:13px;font-weight:600}.it-translated-text-content{padding:8px 14px}.it-translated-text-line{display:flex;align-items:baseline;gap:10px;padding:5px 0;border-bottom:1px solid #f3f4f6;font-size:13px;line-height:1.6}.it-translated-text-line:last-child{border-bottom:none}.it-text-original{flex:1;color:#6b7280;min-width:0;word-break:break-word}.it-text-arrow{color:#d1d5db;flex-shrink:0;font-size:14px}.it-text-translated{flex:1;color:#0f766e;font-weight:500;min-width:0;word-break:break-word}@media(max-width:768px){.it-fullpage{flex-direction:column}.it-left-pane{flex:none;max-height:40vh;border-inline-end:none;border-bottom:1px solid #e5e7eb}.it-right-pane{flex:1}}.dc-fullscreen{display:grid;grid-template-columns:1fr .75fr;flex:1;overflow:hidden;min-height:0}.dc-config-col{display:flex;flex-direction:column;gap:24px;padding:24px 28px;overflow-y:auto;border-inline-end:1px solid #e5e7eb}.dc-preview-col{display:flex;flex-direction:column;padding:24px;overflow-y:auto;background:#fafafe}.dc-preview-sticky{position:sticky;top:0;display:flex;flex-direction:column;gap:20px;align-items:center}.dc-section{display:flex;flex-direction:column;gap:10px}.dc-section-title{font-size:13px;font-weight:600;color:#374151;letter-spacing:.01em}.dc-section-title-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.dc-mode-toggle{display:flex;border:1.5px solid #e5e7eb;border-radius:8px;overflow:hidden}.dc-mode-opt{padding:4px 12px;border:none;background:#fff;color:#6b7280;font-size:11px;font-weight:500;cursor:pointer;transition:all .2s;font-family:inherit}.dc-mode-opt:not(:last-child){border-inline-end:1px solid #e5e7eb}.dc-mode-opt:hover:not(:disabled){background:#faf5ff}.dc-mode-opt.active{background:linear-gradient(135deg,#8b5cf6,#7c3aed);color:#fff}.dc-mode-opt:disabled{opacity:.4;cursor:not-allowed}.dc-type-grid{display:flex;gap:8px;flex-wrap:wrap}.dc-type-card{display:flex;flex-direction:column;align-items:center;gap:6px;padding:14px 16px;min-width:90px;border:2px solid #e5e7eb;border-radius:14px;background:#fff;color:#6b7280;font-size:12px;font-weight:500;cursor:pointer;transition:all .2s;font-family:inherit}.dc-type-card:hover:not(:disabled){border-color:#c084fc;color:#7c3aed;background:#faf5ff}.dc-type-card.active{border-color:#8b5cf6;background:linear-gradient(135deg,#faf5ff,#ede9fe);color:#7c3aed;box-shadow:0 0 0 1px #8b5cf6}.dc-type-card:disabled{opacity:.4;cursor:not-allowed}.dc-ratio-grid{display:flex;gap:8px;flex-wrap:wrap}.dc-ratio-card{display:flex;align-items:center;gap:10px;padding:10px 14px;border:2px solid #e5e7eb;border-radius:12px;background:#fff;cursor:pointer;transition:all .2s;font-family:inherit}.dc-ratio-card:hover:not(:disabled){border-color:#c084fc;background:#faf5ff}.dc-ratio-card.active{border-color:#8b5cf6;background:#faf5ff;box-shadow:0 0 0 1px #8b5cf6}.dc-ratio-card:disabled{opacity:.4;cursor:not-allowed}.dc-ratio-shape{width:28px;max-height:40px;min-height:16px;border-radius:4px;background:#e0e7ff;border:1.5px solid #a5b4fc;flex-shrink:0}.dc-ratio-card.active .dc-ratio-shape{background:#c4b5fd;border-color:#8b5cf6}.dc-ratio-info{display:flex;flex-direction:column;gap:1px}.dc-ratio-label{font-size:12px;font-weight:600;color:#374151}.dc-ratio-px{font-size:10px;color:#9ca3af}.dc-density-grid{display:flex;gap:8px}.dc-density-card{flex:1;display:flex;flex-direction:column;align-items:center;gap:4px;padding:12px 8px;border:2px solid #e5e7eb;border-radius:12px;background:#fff;color:#6b7280;cursor:pointer;transition:all .2s;font-family:inherit}.dc-density-card:hover:not(:disabled){border-color:#c084fc;background:#faf5ff}.dc-density-card.active{border-color:#8b5cf6;background:#faf5ff;color:#7c3aed;box-shadow:0 0 0 1px #8b5cf6}.dc-density-card:disabled{opacity:.4;cursor:not-allowed}.dc-density-label{font-size:12px;font-weight:600;color:inherit}.dc-density-desc{font-size:10px;color:#9ca3af;text-align:center;line-height:1.3}.dc-density-card.active .dc-density-desc{color:#8b5cf6}.dc-chips{display:flex;gap:6px;flex-wrap:wrap}.dc-chip{padding:4px 12px;border-radius:16px;border:1px solid #d1d5db;background:#f9fafb;color:#6b7280;font-size:11px;font-weight:500;cursor:pointer;transition:all .15s;font-family:inherit}.dc-chip:hover:not(:disabled){border-color:#c084fc;background:#faf5ff;color:#7c3aed}.dc-chip:disabled{opacity:.3;cursor:not-allowed}.dc-prompt-textarea{width:100%;min-height:100px;padding:12px 14px;border:1px solid #e5e7eb;border-radius:12px;background:#fff;color:#1f2937;font-size:14px;font-family:inherit;line-height:1.6;resize:vertical;box-sizing:border-box;transition:all .2s}.dc-prompt-textarea:focus{outline:none;border-color:#c084fc;box-shadow:0 0 0 3px #8b5cf614}.dc-prompt-textarea:disabled{opacity:.5;background:#f9fafb}.dc-theme-grid{display:flex;gap:8px;flex-wrap:wrap}.dc-theme-card{display:flex;align-items:center;gap:8px;padding:8px 14px;border:2px solid #e5e7eb;border-radius:20px;background:#fff;cursor:pointer;transition:all .2s;font-family:inherit}.dc-theme-card:hover:not(:disabled){border-color:#c084fc;background:#faf5ff}.dc-theme-card.active{border-color:#8b5cf6;background:#faf5ff;box-shadow:0 0 0 1px #8b5cf6}.dc-theme-card:disabled{opacity:.4;cursor:not-allowed}.dc-theme-dots{display:flex;gap:3px}.dc-theme-dot{width:14px;height:14px;border-radius:50%;border:1px solid rgba(0,0,0,.1)}.dc-theme-name{font-size:12px;font-weight:500;color:#374151}.dc-custom-colors{display:flex;gap:12px;flex-wrap:wrap}.dc-color-field{display:flex;flex-direction:column;gap:4px;font-size:11px;font-weight:500;color:#6b7280}.dc-color-input-wrap{display:flex;align-items:center;gap:6px;padding:4px 8px 4px 4px;border:1.5px solid #e5e7eb;border-radius:8px;background:#fff;transition:border-color .2s}.dc-color-input-wrap:focus-within{border-color:#c084fc}.dc-color-picker{width:28px;height:28px;border:none;border-radius:6px;padding:0;cursor:pointer;background:none}.dc-color-picker::-webkit-color-swatch-wrapper{padding:0}.dc-color-picker::-webkit-color-swatch{border:1px solid rgba(0,0,0,.1);border-radius:6px}.dc-color-hex{font-size:11px;font-family:monospace;color:#6b7280;text-transform:uppercase}.dc-section-hint{font-size:11px;color:#9ca3af;margin-top:-6px;line-height:1.4}.dc-labels-list{display:flex;flex-direction:column;gap:6px}.dc-label-row{display:flex;align-items:center;gap:8px}.dc-label-row.disabled{opacity:.45}.dc-label-toggle{width:28px;height:28px;flex-shrink:0;display:flex;align-items:center;justify-content:center;border:2px solid #e5e7eb;border-radius:8px;background:#fff;color:#9ca3af;cursor:pointer;transition:all .2s;padding:0}.dc-label-toggle:hover:not(:disabled){border-color:#c084fc;color:#7c3aed}.dc-label-toggle.active{border-color:#8b5cf6;background:linear-gradient(135deg,#8b5cf6,#7c3aed);color:#fff}.dc-label-toggle:disabled{cursor:not-allowed}.dc-label-input{flex:1;padding:6px 10px;border:1px solid #e5e7eb;border-radius:8px;background:#fff;color:#1f2937;font-size:13px;font-family:inherit;transition:all .2s}.dc-label-input:focus{outline:none;border-color:#c084fc;box-shadow:0 0 0 2px #8b5cf614}.dc-label-input:disabled{background:#f9fafb;color:#9ca3af}.dc-logo-toggle{display:flex;border:2px solid #e5e7eb;border-radius:10px;overflow:hidden}.dc-logo-opt{flex:1;padding:8px 12px;border:none;background:#fff;color:#6b7280;font-size:12px;font-weight:500;cursor:pointer;transition:all .2s;font-family:inherit}.dc-logo-opt:not(:last-child){border-inline-end:1px solid #e5e7eb}.dc-logo-opt:hover:not(:disabled){background:#faf5ff}.dc-logo-opt.active{background:linear-gradient(135deg,#8b5cf6,#7c3aed);color:#fff}.dc-logo-opt:disabled{opacity:.4;cursor:not-allowed}.dc-logo-hint{font-size:11px;color:#9ca3af}.dc-logo-upload-area{display:flex;gap:8px}.dc-logo-preview{position:relative;width:56px;height:56px;border-radius:10px;overflow:hidden;border:1px solid #e5e7eb}.dc-logo-preview img{width:100%;height:100%;object-fit:contain;background:#f9fafb}.dc-logo-remove{position:absolute;top:2px;right:2px;width:18px;height:18px;display:flex;align-items:center;justify-content:center;border:none;border-radius:50%;background:#0009;color:#fff;cursor:pointer;padding:0}.dc-logo-add{width:56px;height:56px;display:flex;align-items:center;justify-content:center;border:2px dashed #d1d5db;border-radius:10px;background:#fff;color:#9ca3af;cursor:pointer;transition:all .2s}.dc-logo-add:hover:not(:disabled){border-color:#c084fc;color:#7c3aed;background:#faf5ff}.dc-logo-add:disabled{opacity:.3;cursor:not-allowed}.dc-logo-presets{display:flex;gap:8px}.dc-preset-badge{padding:6px 14px;border-radius:20px;background:linear-gradient(135deg,#faf5ff,#ede9fe);border:1px solid #c084fc;color:#7c3aed;font-size:12px;font-weight:500}.dc-photos-grid{display:flex;gap:8px;flex-wrap:wrap}.dc-photo-thumb{position:relative;width:72px;height:72px;border-radius:10px;overflow:hidden;border:1px solid #e5e7eb}.dc-photo-thumb img{width:100%;height:100%;object-fit:cover}.dc-photo-remove{position:absolute;top:3px;right:3px;width:20px;height:20px;display:flex;align-items:center;justify-content:center;border:none;border-radius:50%;background:#0009;color:#fff;cursor:pointer;padding:0}.dc-photo-add{width:72px;height:72px;display:flex;align-items:center;justify-content:center;border:2px dashed #d1d5db;border-radius:10px;background:#fff;color:#9ca3af;cursor:pointer;transition:all .2s}.dc-photo-add:hover:not(:disabled){border-color:#c084fc;color:#7c3aed;background:#faf5ff}.dc-photo-add:disabled{opacity:.3;cursor:not-allowed}.dc-lang-pills{display:flex;gap:8px;flex-wrap:wrap}.dc-pill{padding:7px 16px;border-radius:20px;border:1px solid #e5e7eb;background:#fff;color:#6b7280;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s;font-family:inherit}.dc-pill:hover:not(:disabled){border-color:#c084fc;background:#faf5ff;color:#7c3aed}.dc-pill.active{background:linear-gradient(135deg,#8b5cf6,#7c3aed);color:#fff;border-color:transparent;box-shadow:0 2px 8px #8b5cf640}.dc-pill:disabled{opacity:.3;cursor:not-allowed}.dc-canvas-preview{width:100%;display:flex;align-items:center;justify-content:center;padding:20px}.dc-canvas-shape{width:100%;max-width:260px;max-height:400px;border:2px dashed #c4b5fd;border-radius:16px;background:linear-gradient(135deg,#faf5ff,#ede9fe);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;transition:aspect-ratio .3s ease}.dc-canvas-px{font-size:14px;font-weight:600;color:#8b5cf6}.dc-canvas-ratio{font-size:11px;color:#a78bfa;font-weight:500}.dc-generate-btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;max-width:300px;padding:14px 24px;border:none;border-radius:14px;background:linear-gradient(135deg,#8b5cf6,#7c3aed);color:#fff;font-size:15px;font-weight:600;cursor:pointer;transition:all .2s;font-family:inherit}.dc-generate-btn:hover:not(:disabled){box-shadow:0 6px 20px #8b5cf659;transform:translateY(-1px)}.dc-generate-btn:disabled{opacity:.4;cursor:not-allowed}.dc-preview-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:300px}.dc-result-wrap{width:100%;display:flex;flex-direction:column;border:1px solid #e5e7eb;border-radius:14px;overflow:hidden;background:#fff}.dc-result-header{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;background:#faf5ff;border-bottom:1px solid #e5e7eb;color:#6d28d9;font-size:13px;font-weight:600}.dc-result-actions{display:flex;gap:6px}.dc-action-btn{display:flex;align-items:center;gap:4px;padding:5px 10px;border:1px solid #e5e7eb;border-radius:6px;background:#fff;color:#6b7280;font-size:12px;cursor:pointer;transition:all .2s;font-family:inherit}.dc-action-btn:hover{background:#faf5ff;border-color:#c084fc;color:#7c3aed}.dc-action-btn.primary{background:linear-gradient(135deg,#8b5cf6,#7c3aed);color:#fff;border-color:#7c3aed}.dc-action-btn.primary:hover{background:linear-gradient(135deg,#7c3aed,#6d28d9);color:#fff;border-color:#6d28d9}.dc-action-btn.danger{color:#ef4444;border-color:#fecaca}.dc-action-btn.danger:hover{background:#fef2f2;border-color:#ef4444;color:#dc2626}.dc-result-image-wrap{padding:12px;display:flex;justify-content:center}.dc-result-image{max-width:100%;max-height:70vh;border-radius:8px;display:block}.dc-error{width:100%;padding:10px 14px;background:#ef44440f;border:1px solid rgba(239,68,68,.2);border-radius:10px;color:#dc2626;font-size:13px;box-sizing:border-box}@media(max-width:900px){.dc-fullscreen{grid-template-columns:1fr}.dc-config-col{border-inline-end:none;border-bottom:1px solid #e5e7eb}.dc-canvas-preview{padding:12px}.dc-canvas-shape{max-width:160px;max-height:200px}}.sst-tool{display:grid;grid-template-columns:1fr 1fr}.sst-input-col{display:flex;flex-direction:column;padding:24px 28px;border-inline-end:1px solid #e5e7eb}.sst-result-col{display:flex;flex-direction:column;background:#fafafe}.sst-settings{display:flex;flex-direction:column;gap:18px}.sst-label{display:flex;align-items:center;gap:8px;color:#374151;font-size:13px;font-weight:600}.sst-textarea{width:100%;min-height:50vh;padding:14px;border:1px solid #d1d5db;border-radius:10px;background:#f8fafc;color:#1f2937;font-size:14px;font-family:inherit;line-height:1.7;resize:vertical;direction:rtl;box-sizing:border-box;transition:border-color .2s}.sst-textarea:focus{outline:none;border-color:#059669;box-shadow:0 0 0 3px #0596691a}.sst-textarea::placeholder{color:#9ca3af}.sst-textarea:disabled{opacity:.6;cursor:not-allowed}.sst-analyze-btn{display:flex;align-items:center;justify-content:center;gap:8px;padding:14px 24px;border:none;border-radius:12px;background:linear-gradient(135deg,#059669,#10b981);color:#fff;font-size:16px;font-weight:600;cursor:pointer;transition:all .2s}.sst-analyze-btn:hover:not(:disabled){box-shadow:0 4px 20px #05966959;transform:translateY(-1px)}.sst-analyze-btn:disabled{opacity:.5;cursor:not-allowed}.sst-error{padding:12px 16px;border-radius:10px;background:#fef2f2;border:1px solid #fecaca;color:#dc2626;font-size:14px;text-align:center}.sst-results{display:flex;flex-direction:column;gap:16px;padding:24px}.sst-results-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}.sst-results-title{display:flex;align-items:center;gap:8px;color:#059669;font-size:15px;font-weight:600}.sst-results-count{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:#059669;color:#fff;font-size:12px;font-weight:700}.sst-results-actions{display:flex;align-items:center;gap:8px}.sst-lang-toggle{display:flex;border:1px solid #e5e7eb;border-radius:8px;overflow:hidden}.sst-lang-btn{padding:5px 14px;border:none;background:#fff;color:#6b7280;font-size:12px;font-weight:500;cursor:pointer;transition:all .2s}.sst-lang-btn:first-child{border-inline-end:1px solid #e5e7eb}.sst-lang-btn.active{background:#059669;color:#fff}.sst-lang-btn:hover:not(.active){background:#f0fdf4;color:#059669}.sst-action-btn{display:flex;align-items:center;gap:4px;padding:5px 10px;border:1px solid #e5e7eb;border-radius:6px;background:#fff;color:#6b7280;font-size:12px;cursor:pointer;transition:all .2s}.sst-action-btn:hover{background:#f0fdf4;border-color:#a7f3d0;color:#059669}.sst-cards{display:flex;flex-direction:column;gap:14px}.sst-card{border:1px solid #e5e7eb;border-radius:12px;border-inline-start:4px solid #059669;background:#fff;overflow:hidden;transition:box-shadow .2s}.sst-card:hover{box-shadow:0 2px 12px #05966914}.sst-card-header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background:#f0fdf4;border-bottom:1px solid #e5e7eb}.sst-card-number{color:#059669;font-size:13px;font-weight:600}.sst-card-copy{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border:1px solid #d1d5db;border-radius:6px;background:#fff;color:#6b7280;cursor:pointer;transition:all .2s}.sst-card-copy:hover{background:#f0fdf4;border-color:#a7f3d0;color:#059669}.sst-card-field{padding:12px 16px;border-bottom:1px solid #f3f4f6}.sst-card-field:last-child{border-bottom:none}.sst-field-label{display:flex;align-items:center;gap:6px;color:#6b7280;font-size:12px;font-weight:600;margin-bottom:6px}.sst-headline-input{width:100%;padding:6px 0;color:#1f2937;font-size:16px;font-weight:700;line-height:1.6;border:none;background:transparent;font-family:inherit;box-sizing:border-box;outline:none;transition:background .2s;border-radius:6px}.sst-headline-input:hover,.sst-headline-input:focus{background:#f8fafc;padding:6px 8px}.sst-angle-editor{width:100%;min-height:50px;padding:6px 0;color:#374151;font-size:14px;line-height:1.7;border:none;background:transparent;font-family:inherit;box-sizing:border-box;resize:vertical;outline:none;transition:background .2s;border-radius:6px}.sst-angle-editor:hover,.sst-angle-editor:focus{background:#f8fafc;padding:6px 8px}.sst-axes{display:flex;flex-wrap:wrap;gap:6px}.sst-axis-input{padding:5px 12px;border-radius:20px;background:#ecfdf5;color:#047857;font-size:12px;font-weight:500;border:1px solid #a7f3d0;font-family:inherit;outline:none;min-width:80px;transition:all .2s}.sst-axis-input:hover,.sst-axis-input:focus{background:#d1fae5;border-color:#6ee7b7}.sst-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;color:#d1d5db;padding:60px 20px;text-align:center}.sst-empty p{margin:0;font-size:14px;color:#9ca3af}.sst-bottom-actions{display:flex;gap:8px;padding-top:12px;border-top:1px solid #e5e7eb}.sst-copy-all-btn{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;padding:11px;border:none;border-radius:10px;background:linear-gradient(135deg,#059669,#10b981);color:#fff;font-size:13px;font-weight:600;cursor:pointer;transition:all .2s}.sst-copy-all-btn:hover{box-shadow:0 3px 12px #0596694d;transform:translateY(-1px)}.sst-regen-btn{display:flex;align-items:center;justify-content:center;gap:6px;padding:11px 20px;border:1px solid #e5e7eb;border-radius:10px;background:#fff;color:#6b7280;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s}.sst-regen-btn:hover{background:#f0fdf4;border-color:#a7f3d0;color:#059669}@media(max-width:900px){.sst-tool{grid-template-columns:1fr}.sst-input-col{border-inline-end:none;border-bottom:1px solid #e5e7eb}.sst-results-header{flex-direction:column;align-items:flex-start}.sst-results-actions{flex-wrap:wrap}}.ql-container{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container:not(.ql-disabled) li[data-list=checked]>.ql-ui,.ql-container:not(.ql-disabled) li[data-list=unchecked]>.ql-ui{cursor:pointer}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;counter-reset:list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;line-height:1.42;height:100%;outline:none;overflow-y:auto;padding:12px 15px;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor>*{cursor:text}.ql-editor p,.ql-editor ol,.ql-editor pre,.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{margin:0;padding:0}@supports (counter-set:none){.ql-editor p,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{counter-set:list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor p,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{counter-reset:list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor table{border-collapse:collapse}.ql-editor td{border:1px solid #000;padding:2px 5px}.ql-editor ol{padding-left:1.5em}.ql-editor li{list-style-type:none;padding-left:1.5em;position:relative}.ql-editor li>.ql-ui:before{display:inline-block;margin-left:-1.5em;margin-right:.3em;text-align:right;white-space:nowrap;width:1.2em}.ql-editor li[data-list=checked]>.ql-ui,.ql-editor li[data-list=unchecked]>.ql-ui{color:#777}.ql-editor li[data-list=bullet]>.ql-ui:before{content:"•"}.ql-editor li[data-list=checked]>.ql-ui:before{content:"☑"}.ql-editor li[data-list=unchecked]>.ql-ui:before{content:"☐"}@supports (counter-set:none){.ql-editor li[data-list]{counter-set:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list]{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered]{counter-increment:list-0}.ql-editor li[data-list=ordered]>.ql-ui:before{content:counter(list-0,decimal) ". "}.ql-editor li[data-list=ordered].ql-indent-1{counter-increment:list-1}.ql-editor li[data-list=ordered].ql-indent-1>.ql-ui:before{content:counter(list-1,lower-alpha) ". "}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-1{counter-set:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-2{counter-increment:list-2}.ql-editor li[data-list=ordered].ql-indent-2>.ql-ui:before{content:counter(list-2,lower-roman) ". "}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-2{counter-set:list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-3{counter-increment:list-3}.ql-editor li[data-list=ordered].ql-indent-3>.ql-ui:before{content:counter(list-3,decimal) ". "}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-3{counter-set:list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-4{counter-increment:list-4}.ql-editor li[data-list=ordered].ql-indent-4>.ql-ui:before{content:counter(list-4,lower-alpha) ". "}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-4{counter-set:list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-5{counter-increment:list-5}.ql-editor li[data-list=ordered].ql-indent-5>.ql-ui:before{content:counter(list-5,lower-roman) ". "}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-5{counter-set:list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-6{counter-increment:list-6}.ql-editor li[data-list=ordered].ql-indent-6>.ql-ui:before{content:counter(list-6,decimal) ". "}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-6{counter-set:list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-6{counter-reset:list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-7{counter-increment:list-7}.ql-editor li[data-list=ordered].ql-indent-7>.ql-ui:before{content:counter(list-7,lower-alpha) ". "}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-7{counter-set:list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-7{counter-reset:list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-8{counter-increment:list-8}.ql-editor li[data-list=ordered].ql-indent-8>.ql-ui:before{content:counter(list-8,lower-roman) ". "}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-8{counter-set:list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-8{counter-reset:list-9}}.ql-editor li[data-list=ordered].ql-indent-9{counter-increment:list-9}.ql-editor li[data-list=ordered].ql-indent-9>.ql-ui:before{content:counter(list-9,decimal) ". "}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor li.ql-direction-rtl{padding-right:1.5em}.ql-editor li.ql-direction-rtl>.ql-ui:before{margin-left:.3em;margin-right:-1.5em;text-align:left}.ql-editor table{table-layout:fixed;width:100%}.ql-editor table td{outline:none}.ql-editor .ql-code-block-container{font-family:monospace}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor .ql-ui{position:absolute}.ql-editor.ql-blank:before{color:#0009;content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}.ql-snow.ql-toolbar:after,.ql-snow .ql-toolbar:after{clear:both;content:"";display:table}.ql-snow.ql-toolbar button,.ql-snow .ql-toolbar button{background:none;border:none;cursor:pointer;display:inline-block;float:left;height:24px;padding:3px 5px;width:28px}.ql-snow.ql-toolbar button svg,.ql-snow .ql-toolbar button svg{float:left;height:100%}.ql-snow.ql-toolbar button:active:hover,.ql-snow .ql-toolbar button:active:hover{outline:none}.ql-snow.ql-toolbar input.ql-image[type=file],.ql-snow .ql-toolbar input.ql-image[type=file]{display:none}.ql-snow.ql-toolbar button:hover,.ql-snow .ql-toolbar button:hover,.ql-snow.ql-toolbar button:focus,.ql-snow .ql-toolbar button:focus,.ql-snow.ql-toolbar button.ql-active,.ql-snow .ql-toolbar button.ql-active,.ql-snow.ql-toolbar .ql-picker-label:hover,.ql-snow .ql-toolbar .ql-picker-label:hover,.ql-snow.ql-toolbar .ql-picker-label.ql-active,.ql-snow .ql-toolbar .ql-picker-label.ql-active,.ql-snow.ql-toolbar .ql-picker-item:hover,.ql-snow .ql-toolbar .ql-picker-item:hover,.ql-snow.ql-toolbar .ql-picker-item.ql-selected,.ql-snow .ql-toolbar .ql-picker-item.ql-selected{color:#06c}.ql-snow.ql-toolbar button:hover .ql-fill,.ql-snow .ql-toolbar button:hover .ql-fill,.ql-snow.ql-toolbar button:focus .ql-fill,.ql-snow .ql-toolbar button:focus .ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill{fill:#06c}.ql-snow.ql-toolbar button:hover .ql-stroke,.ql-snow .ql-toolbar button:hover .ql-stroke,.ql-snow.ql-toolbar button:focus .ql-stroke,.ql-snow .ql-toolbar button:focus .ql-stroke,.ql-snow.ql-toolbar button.ql-active .ql-stroke,.ql-snow .ql-toolbar button.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow.ql-toolbar button:hover .ql-stroke-miter,.ql-snow .ql-toolbar button:hover .ql-stroke-miter,.ql-snow.ql-toolbar button:focus .ql-stroke-miter,.ql-snow .ql-toolbar button:focus .ql-stroke-miter,.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter{stroke:#06c}@media(pointer:coarse){.ql-snow.ql-toolbar button:hover:not(.ql-active),.ql-snow .ql-toolbar button:hover:not(.ql-active){color:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:#444}}.ql-snow,.ql-snow *{box-sizing:border-box}.ql-snow .ql-hidden{display:none}.ql-snow .ql-out-bottom,.ql-snow .ql-out-top{visibility:hidden}.ql-snow .ql-tooltip{position:absolute;transform:translateY(10px)}.ql-snow .ql-tooltip a{cursor:pointer;text-decoration:none}.ql-snow .ql-tooltip.ql-flip{transform:translateY(-10px)}.ql-snow .ql-formats{display:inline-block;vertical-align:middle}.ql-snow .ql-formats:after{clear:both;content:"";display:table}.ql-snow .ql-stroke{fill:none;stroke:#444;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-snow .ql-stroke-miter{fill:none;stroke:#444;stroke-miterlimit:10;stroke-width:2}.ql-snow .ql-fill,.ql-snow .ql-stroke.ql-fill{fill:#444}.ql-snow .ql-empty{fill:none}.ql-snow .ql-even{fill-rule:evenodd}.ql-snow .ql-thin,.ql-snow .ql-stroke.ql-thin{stroke-width:1}.ql-snow .ql-transparent{opacity:.4}.ql-snow .ql-direction svg:last-child{display:none}.ql-snow .ql-direction.ql-active svg:last-child{display:inline}.ql-snow .ql-direction.ql-active svg:first-child{display:none}.ql-snow .ql-editor h1{font-size:2em}.ql-snow .ql-editor h2{font-size:1.5em}.ql-snow .ql-editor h3{font-size:1.17em}.ql-snow .ql-editor h4{font-size:1em}.ql-snow .ql-editor h5{font-size:.83em}.ql-snow .ql-editor h6{font-size:.67em}.ql-snow .ql-editor a{text-decoration:underline}.ql-snow .ql-editor blockquote{border-left:4px solid #ccc;margin-bottom:5px;margin-top:5px;padding-left:16px}.ql-snow .ql-editor code,.ql-snow .ql-editor .ql-code-block-container{background-color:#f0f0f0;border-radius:3px}.ql-snow .ql-editor .ql-code-block-container{margin-bottom:5px;margin-top:5px;padding:5px 10px}.ql-snow .ql-editor code{font-size:85%;padding:2px 4px}.ql-snow .ql-editor .ql-code-block-container{background-color:#23241f;color:#f8f8f2;overflow:visible}.ql-snow .ql-editor img{max-width:100%}.ql-snow .ql-picker{color:#444;display:inline-block;float:left;font-size:14px;font-weight:500;height:24px;position:relative;vertical-align:middle}.ql-snow .ql-picker-label{cursor:pointer;display:inline-block;height:100%;padding-left:8px;padding-right:2px;position:relative;width:100%}.ql-snow .ql-picker-label:before{display:inline-block;line-height:22px}.ql-snow .ql-picker-options{background-color:#fff;display:none;min-width:100%;padding:4px 8px;position:absolute;white-space:nowrap}.ql-snow .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding-bottom:5px;padding-top:5px}.ql-snow .ql-picker.ql-expanded .ql-picker-label{color:#ccc;z-index:2}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-options{display:block;margin-top:-1px;top:100%;z-index:1}.ql-snow .ql-color-picker,.ql-snow .ql-icon-picker{width:28px}.ql-snow .ql-color-picker .ql-picker-label,.ql-snow .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-label svg,.ql-snow .ql-icon-picker .ql-picker-label svg{right:4px}.ql-snow .ql-icon-picker .ql-picker-options{padding:4px 0}.ql-snow .ql-icon-picker .ql-picker-item{height:24px;width:24px;padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-options{padding:3px 5px;width:152px}.ql-snow .ql-color-picker .ql-picker-item{border:1px solid transparent;float:left;height:16px;margin:2px;padding:0;width:16px}.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{position:absolute;margin-top:-9px;right:0;top:50%;width:18px}.ql-snow .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=""]):before{content:attr(data-label)}.ql-snow .ql-picker.ql-header{width:98px}.ql-snow .ql-picker.ql-header .ql-picker-label:before,.ql-snow .ql-picker.ql-header .ql-picker-item:before{content:"Normal"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{content:"Heading 1"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{content:"Heading 2"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{content:"Heading 3"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="4"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{content:"Heading 4"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="5"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{content:"Heading 5"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="6"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{content:"Heading 6"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{font-size:2em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{font-size:1.5em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{font-size:1.17em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{font-size:1em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{font-size:.83em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{font-size:.67em}.ql-snow .ql-picker.ql-font{width:108px}.ql-snow .ql-picker.ql-font .ql-picker-label:before,.ql-snow .ql-picker.ql-font .ql-picker-item:before{content:"Sans Serif"}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=serif]:before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{content:"Serif"}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=monospace]:before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{content:"Monospace"}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{font-family:Georgia,Times New Roman,serif}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{font-family:Monaco,Courier New,monospace}.ql-snow .ql-picker.ql-size{width:98px}.ql-snow .ql-picker.ql-size .ql-picker-label:before,.ql-snow .ql-picker.ql-size .ql-picker-item:before{content:"Normal"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=small]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{content:"Small"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=large]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{content:"Large"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=huge]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{content:"Huge"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{font-size:10px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{font-size:18px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{font-size:32px}.ql-snow .ql-color-picker.ql-background .ql-picker-item{background-color:#fff}.ql-snow .ql-color-picker.ql-color .ql-picker-item{background-color:#000}.ql-code-block-container{position:relative}.ql-code-block-container .ql-ui{right:5px;top:5px}.ql-toolbar.ql-snow{border:1px solid #ccc;box-sizing:border-box;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;padding:8px}.ql-toolbar.ql-snow .ql-formats{margin-right:15px}.ql-toolbar.ql-snow .ql-picker-label{border:1px solid transparent}.ql-toolbar.ql-snow .ql-picker-options{border:1px solid transparent;box-shadow:#0003 0 2px 8px}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label,.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options{border-color:#ccc}.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected,.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover{border-color:#000}.ql-toolbar.ql-snow+.ql-container.ql-snow{border-top:0}.ql-snow .ql-tooltip{background-color:#fff;border:1px solid #ccc;box-shadow:0 0 5px #ddd;color:#444;padding:5px 12px;white-space:nowrap}.ql-snow .ql-tooltip:before{content:"Visit URL:";line-height:26px;margin-right:8px}.ql-snow .ql-tooltip input[type=text]{display:none;border:1px solid #ccc;font-size:13px;height:26px;margin:0;padding:3px 5px;width:170px}.ql-snow .ql-tooltip a.ql-preview{display:inline-block;max-width:200px;overflow-x:hidden;text-overflow:ellipsis;vertical-align:top}.ql-snow .ql-tooltip a.ql-action:after{border-right:1px solid #ccc;content:"Edit";margin-left:16px;padding-right:8px}.ql-snow .ql-tooltip a.ql-remove:before{content:"Remove";margin-left:8px}.ql-snow .ql-tooltip a{line-height:26px}.ql-snow .ql-tooltip.ql-editing a.ql-preview,.ql-snow .ql-tooltip.ql-editing a.ql-remove{display:none}.ql-snow .ql-tooltip.ql-editing input[type=text]{display:inline-block}.ql-snow .ql-tooltip.ql-editing a.ql-action:after{border-right:0;content:"Save";padding-right:0}.ql-snow .ql-tooltip[data-mode=link]:before{content:"Enter link:"}.ql-snow .ql-tooltip[data-mode=formula]:before{content:"Enter formula:"}.ql-snow .ql-tooltip[data-mode=video]:before{content:"Enter video:"}.ql-snow a{color:#06c}.ql-container.ql-snow{border:1px solid #ccc}.aet-tool{display:grid;grid-template-columns:1fr 1fr}.aet-input-col{display:flex;flex-direction:column;padding:24px 28px;border-inline-end:1px solid #e5e7eb}.aet-result-col{display:flex;flex-direction:column;background:#fafafe}.aet-settings{display:flex;flex-direction:column;gap:18px}.aet-field{display:flex;flex-direction:column;gap:8px}.aet-field-grow .aet-textarea{min-height:50vh}.aet-label{display:flex;align-items:center;justify-content:space-between;color:#374151;font-size:13px;font-weight:600}.aet-select{width:100%;padding:11px 14px;border:1px solid #d1d5db;border-radius:10px;background:#f8fafc;color:#1f2937;font-size:14px;font-family:inherit;direction:rtl;cursor:pointer;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:left 12px center;transition:border-color .2s}.aet-select:focus{outline:none;border-color:#8b5cf6;box-shadow:0 0 0 3px #8b5cf61a}.aet-select:disabled{opacity:.6;cursor:not-allowed}.aet-select optgroup{font-weight:700;color:#6b7280;font-size:13px}.aet-select option{color:#1f2937;background:#fff;font-weight:400;padding:4px 8px}.aet-textarea{width:100%;padding:14px;border:1px solid #d1d5db;border-radius:10px;background:#f8fafc;color:#1f2937;font-size:14px;font-family:inherit;line-height:1.7;resize:vertical;direction:rtl;box-sizing:border-box;transition:border-color .2s}.aet-textarea:focus{outline:none;border-color:#8b5cf6;box-shadow:0 0 0 3px #8b5cf61a}.aet-textarea::placeholder{color:#9ca3af}.aet-textarea:disabled{opacity:.6;cursor:not-allowed}.aet-generate-btn{display:flex;align-items:center;justify-content:center;gap:8px;padding:14px 24px;border:none;border-radius:12px;background:linear-gradient(135deg,#8b5cf6,#06b6d4);color:#fff;font-size:16px;font-weight:600;cursor:pointer;transition:all .2s;flex-shrink:0}.aet-generate-btn:hover:not(:disabled){box-shadow:0 4px 20px #8b5cf659;transform:translateY(-1px)}.aet-generate-btn:disabled{opacity:.5;cursor:not-allowed}.aet-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;color:#d1d5db;padding:60px 20px;text-align:center}.aet-empty p{margin:0;font-size:14px;color:#9ca3af}.aet-error{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:60px 20px;text-align:center;color:#dc2626}.aet-error p{margin:0;font-size:14px}.aet-retry-btn{display:flex;align-items:center;gap:6px;padding:8px 16px;border:1px solid #dc2626;border-radius:8px;background:#fff;color:#dc2626;font-size:13px;cursor:pointer;transition:all .2s}.aet-retry-btn:hover{background:#fef2f2}.aet-result-content{display:flex;flex-direction:column;gap:14px;padding:20px}.aet-section{border:1px solid #e5e7eb;border-radius:12px;overflow:hidden}.aet-editor-section{display:flex;flex-direction:column}.aet-section-header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 14px;background:#f8fafc;border-bottom:1px solid #e5e7eb;color:#374151;font-size:13px;font-weight:600}.aet-section-actions{display:flex;gap:6px}.aet-action-btn{display:flex;align-items:center;gap:4px;padding:5px 10px;border:1px solid #e5e7eb;border-radius:6px;background:#fff;color:#6b7280;font-size:12px;cursor:pointer;transition:all .2s}.aet-action-btn:hover{background:#f0f4ff;border-color:#c4b5fd;color:#7c3aed}.aet-title-input{width:100%;padding:14px 16px;font-size:18px;font-weight:700;color:#1f2937;line-height:1.6;direction:rtl;border:none;background:transparent;font-family:inherit;box-sizing:border-box;outline:none;transition:background .2s}.aet-title-input:hover,.aet-title-input:focus{background:#f8fafc}.aet-quill{display:flex;flex-direction:column}.aet-quill .ql-toolbar{border:none;border-bottom:1px solid #e5e7eb;background:#f8fafc;padding:6px 10px;direction:ltr}.aet-quill .ql-toolbar .ql-formats{margin-inline-end:8px}.aet-quill .ql-toolbar button{width:28px;height:28px;border-radius:4px}.aet-quill .ql-toolbar button:hover{background:#e5e7eb}.aet-quill .ql-toolbar button.ql-active{background:#ede9fe;color:#7c3aed}.aet-quill .ql-toolbar .ql-stroke{stroke:#6b7280}.aet-quill .ql-toolbar button:hover .ql-stroke,.aet-quill .ql-toolbar button.ql-active .ql-stroke{stroke:#7c3aed}.aet-quill .ql-toolbar .ql-fill{fill:#6b7280}.aet-quill .ql-toolbar button:hover .ql-fill,.aet-quill .ql-toolbar button.ql-active .ql-fill{fill:#7c3aed}.aet-quill .ql-container{border:none;font-family:inherit;font-size:14px}.aet-quill .ql-editor{direction:rtl;text-align:right;line-height:1.9;color:#1f2937;padding:16px;min-height:260px}.aet-quill .ql-editor p{margin-bottom:8px}.aet-quill .ql-editor blockquote{border-right:3px solid #8b5cf6;border-left:none;padding-right:14px;padding-left:0;color:#4b5563;font-style:italic}.aet-quill .ql-editor h1,.aet-quill .ql-editor h2,.aet-quill .ql-editor h3{color:#1f2937;margin-bottom:8px}.aet-quill .ql-editor.ql-blank:before{right:16px;left:auto;font-style:normal;color:#9ca3af}.aet-metrics-row{display:flex;gap:8px;flex-wrap:wrap}.aet-metric-chip{display:flex;align-items:center;gap:6px;padding:8px 14px;border-radius:10px;background:#f8fafc;border:1px solid #e5e7eb}.aet-metric-val{color:#1f2937;font-size:16px;font-weight:700}.aet-metric-lbl{color:#6b7280;font-size:12px;font-weight:500}.aet-review-flag{border-color:#f59e0b66;background:#f59e0b0f;color:#d97706}.aet-review-flag .aet-metric-lbl{color:#d97706}.aet-compliance-compact{border:1px solid #e5e7eb;border-radius:10px;padding:12px 14px;background:#fff}.aet-compliance-header{display:flex;align-items:center;gap:6px;color:#374151;font-size:12px;font-weight:600;margin-bottom:10px}.aet-scores-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.aet-score-item{display:flex;flex-direction:column;gap:4px}.aet-score-top{display:flex;align-items:center;justify-content:space-between}.aet-score-label{color:#6b7280;font-size:11px;font-weight:500}.aet-score-value{font-size:13px;font-weight:700}.aet-score-track{height:4px;border-radius:2px;background:#f3f4f6;overflow:hidden}.aet-score-fill{height:100%;border-radius:2px;transition:width .6s ease}.aet-review-reasons{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.aet-review-reason{padding:3px 8px;border-radius:6px;background:#f59e0b14;color:#d97706;font-size:11px}.aet-collapsible{border:1px solid #e5e7eb;border-radius:10px;overflow:hidden}.aet-collapsible-header{display:flex;align-items:center;justify-content:space-between;width:100%;padding:10px 14px;border:none;background:#f8fafc;color:#374151;font-size:13px;font-weight:600;cursor:pointer;transition:background .2s}.aet-collapsible-header:hover{background:#f1f5f9}.aet-corrections-list{display:flex;flex-direction:column;gap:1px;background:#e5e7eb}.aet-correction-item{display:flex;flex-direction:column;gap:4px;padding:10px 14px;background:#fff}.aet-correction-row{display:flex;align-items:center;gap:8px;direction:rtl}.aet-correction-original{padding:2px 8px;border-radius:4px;background:#fef2f2;color:#dc2626;font-size:13px;text-decoration:line-through}.aet-correction-arrow{color:#9ca3af;font-size:14px}.aet-correction-fixed{padding:2px 8px;border-radius:4px;background:#f0fdf4;color:#16a34a;font-size:13px;font-weight:500}.aet-correction-rule{color:#9ca3af;font-size:11px;padding-inline-start:4px}.aet-recommendations-list{display:flex;flex-direction:column;gap:1px;background:#e5e7eb}.aet-recommendation-item{padding:10px 14px;background:#fff;color:#374151;font-size:13px;line-height:1.6;direction:rtl}.aet-hashtags{padding:4px 0}.aet-hashtag-chips{display:flex;flex-wrap:wrap;gap:6px;direction:rtl}.aet-hashtag-chip{padding:5px 12px;border-radius:20px;background:#ede9fe;color:#7c3aed;font-size:12px;font-weight:500;direction:ltr}.aet-bottom-actions{display:flex;gap:8px;padding-top:12px;border-top:1px solid #e5e7eb}.aet-copy-all-btn{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;padding:11px;border:none;border-radius:10px;background:linear-gradient(135deg,#8b5cf6,#6366f1);color:#fff;font-size:13px;font-weight:600;cursor:pointer;transition:all .2s}.aet-copy-all-btn:hover{box-shadow:0 3px 12px #8b5cf64d;transform:translateY(-1px)}.aet-regen-btn{display:flex;align-items:center;justify-content:center;gap:6px;padding:11px 20px;border:1px solid #e5e7eb;border-radius:10px;background:#fff;color:#6b7280;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s}.aet-regen-btn:hover{background:#f0f4ff;border-color:#c4b5fd;color:#7c3aed}@media(max-width:900px){.aet-tool{grid-template-columns:1fr}.aet-input-col{border-inline-end:none;border-bottom:1px solid #e5e7eb}.aet-scores-grid{grid-template-columns:repeat(2,1fr)}}.swt-tool{display:grid;grid-template-columns:1fr 1fr}.swt-config-col{display:flex;flex-direction:column;padding:24px 28px;border-inline-end:1px solid #e5e7eb}.swt-preview-col{display:flex;flex-direction:column;background:#fafafe}.swt-preview-sticky{display:flex;flex-direction:column;min-height:100%}.swt-settings{display:flex;flex-direction:column;gap:22px}.swt-field{display:flex;flex-direction:column;gap:8px}.swt-label{display:flex;align-items:center;justify-content:space-between;color:#374151;font-size:13px;font-weight:600}.swt-select{width:100%;padding:11px 14px;border:1px solid #d1d5db;border-radius:10px;background:#f8fafc;color:#1f2937;font-size:14px;font-family:inherit;direction:rtl;cursor:pointer;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:left 12px center;transition:border-color .2s}.swt-select:focus{outline:none;border-color:#dc2626;box-shadow:0 0 0 3px #dc26261a}.swt-select:disabled{opacity:.6;cursor:not-allowed}.swt-select option{color:#1f2937;background:#fff}.swt-textarea{width:100%;min-height:50vh;padding:14px;border:1px solid #d1d5db;border-radius:10px;background:#f8fafc;color:#1f2937;font-size:14px;font-family:inherit;line-height:1.7;resize:vertical;direction:rtl;box-sizing:border-box;transition:border-color .2s}.swt-textarea:focus{outline:none;border-color:#dc2626;box-shadow:0 0 0 3px #dc26261a}.swt-textarea::placeholder{color:#9ca3af}.swt-textarea:disabled{opacity:.6;cursor:not-allowed}.swt-generate-btn{display:flex;align-items:center;justify-content:center;gap:8px;padding:14px 24px;border:none;border-radius:12px;background:linear-gradient(135deg,#dc2626,#b91c1c);color:#fff;font-size:16px;font-weight:600;cursor:pointer;transition:all .2s;margin-top:4px}.swt-generate-btn:hover:not(:disabled){box-shadow:0 4px 20px #dc262659;transform:translateY(-1px)}.swt-generate-btn:disabled{opacity:.5;cursor:not-allowed}.swt-empty-preview{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;color:#d1d5db;padding:60px 20px;text-align:center}.swt-empty-preview p{margin:0;font-size:14px;color:#9ca3af}.swt-error{display:flex;align-items:center;justify-content:center;padding:60px 20px;text-align:center}.swt-error p{margin:0;color:#dc2626;font-size:14px}.swt-results{display:flex;flex-direction:column;gap:16px;padding:24px}.swt-title-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;background:linear-gradient(135deg,#fef2f2,#fff1f2);border:1px solid #fecaca;border-radius:12px}.swt-script-title{margin:0;color:#1f2937;font-size:16px;font-weight:700;line-height:1.5;flex:1}.swt-title-input{flex:1;padding:8px 12px;font-size:16px;font-weight:700;color:#1f2937;line-height:1.5;direction:rtl;border:none;background:transparent;font-family:inherit;box-sizing:border-box;outline:none;transition:background .2s;border-radius:6px}.swt-title-input:hover,.swt-title-input:focus{background:#fff9}.swt-type-badge{padding:4px 12px;border-radius:20px;background:#dc2626;color:#fff;font-size:12px;font-weight:600;white-space:nowrap}.swt-scenes{display:flex;flex-direction:column;gap:12px}.swt-scene-card{border:1px solid #e5e7eb;border-radius:12px;overflow:hidden}.swt-scene-header{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;background:#f8fafc;border-bottom:1px solid #e5e7eb}.swt-scene-number{color:#374151;font-size:14px;font-weight:700}.swt-duration-badge{padding:3px 10px;border-radius:16px;background:#f3f4f6;color:#4b5563;font-size:12px;font-weight:600}.swt-scene-body{display:flex;flex-direction:column}.swt-visual-section{padding:12px 14px;background:#faf5ff;border-bottom:1px solid #f3e8ff}.swt-voiceover-section{padding:12px 14px;background:#eff6ff}.swt-section-label{display:flex;align-items:center;gap:6px;margin-bottom:6px;font-size:12px;font-weight:600}.swt-visual-section .swt-section-label{color:#7c3aed}.swt-voiceover-section .swt-section-label{color:#2563eb}.swt-section-text{margin:0;color:#1f2937;font-size:14px;line-height:1.8;direction:rtl}.swt-section-editor{width:100%;min-height:60px;padding:0;color:#1f2937;font-size:14px;line-height:1.8;direction:rtl;border:none;background:transparent;font-family:inherit;box-sizing:border-box;resize:vertical;outline:none;transition:background .2s;border-radius:6px}.swt-section-editor:hover,.swt-section-editor:focus{background:#fff6}.swt-footer-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px}.swt-stat{display:flex;flex-direction:column;align-items:center;gap:4px;padding:14px 10px;border-radius:10px;background:#f8fafc;border:1px solid #e5e7eb}.swt-stat-value{color:#1f2937;font-size:22px;font-weight:700}.swt-stat-label{color:#6b7280;font-size:12px;font-weight:500}.swt-bottom-actions{display:flex;gap:8px;padding-top:12px;border-top:1px solid #e5e7eb}.swt-copy-btn{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;padding:11px;border:none;border-radius:10px;background:linear-gradient(135deg,#dc2626,#b91c1c);color:#fff;font-size:13px;font-weight:600;cursor:pointer;transition:all .2s}.swt-copy-btn:hover{box-shadow:0 3px 12px #dc26264d;transform:translateY(-1px)}.swt-regenerate-btn{display:flex;align-items:center;justify-content:center;gap:6px;padding:11px 20px;border:1px solid #e5e7eb;border-radius:10px;background:#fff;color:#6b7280;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s}.swt-regenerate-btn:hover{background:#f9fafb;border-color:#d1d5db;color:#374151}.swt-regenerate-btn:disabled{opacity:.5;cursor:not-allowed}@media(max-width:900px){.swt-tool{grid-template-columns:1fr}.swt-config-col{border-inline-end:none;border-bottom:1px solid #e5e7eb}}.ai-chat-overlay{position:fixed;inset:0;background:#0006;z-index:1100;-webkit-animation:fadeIn .2s ease;animation:fadeIn .2s ease}.ai-chat-panel{position:fixed;top:0;bottom:0;inset-inline-start:0;width:700px;max-width:100vw;background:#fff;box-shadow:0 0 20px #00000026;display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column;-webkit-animation:panelSlideIn .3s cubic-bezier(.16,1,.3,1);animation:panelSlideIn .3s cubic-bezier(.16,1,.3,1);overflow:hidden;z-index:1101}.ai-tool-scroll-area{flex:1;overflow-y:auto;min-height:0}@-webkit-keyframes panelSlideIn{0%{opacity:0;-webkit-transform:scale(.98);transform:scale(.98)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes panelSlideIn{0%{opacity:0;-webkit-transform:scale(.98);transform:scale(.98)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}.panel-header{position:relative;display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center;-webkit-justify-content:space-between;justify-content:space-between;padding:16px 20px;background:linear-gradient(135deg,#8b5cf6,#6366f1);color:#fff;flex-shrink:0}.header-title{display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center;gap:10px;font-size:1.125rem;font-weight:600}.header-brand{position:absolute;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:8px;font-size:.9375rem;font-weight:600;color:#fff;opacity:.9}.header-brand-logo{height:28px;filter:brightness(0) invert(1)}.close-btn{background:#fff3;border:none;color:#fff;width:32px;height:32px;border-radius:8px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s}.close-btn:hover{background:#ffffff4d}.back-btn{background:#fff3;border:none;color:#fff;width:28px;height:28px;border-radius:6px;cursor:pointer;display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center;-webkit-justify-content:center;justify-content:center;-webkit-transition:background .2s;transition:background .2s}.back-btn:hover{background:#ffffff4d}.selected-items-summary{border-bottom:1px solid #e5e7eb}.summary-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;padding:12px 20px;background:#f8fafc;border:none;cursor:pointer;font-size:14px;font-weight:500;color:#374151}.summary-toggle:hover{background:#f1f5f9}.items-list{padding:0 20px 12px;background:#f8fafc}.item-row{display:flex;align-items:center;gap:10px;padding:6px 0;font-size:13px;color:#4b5563}.item-number{width:20px;height:20px;background:#8b5cf6;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:600;flex-shrink:0}.item-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;flex:1}.actions-section{padding:16px 20px;border-bottom:1px solid #e5e7eb}.actions-header{font-size:14px;font-weight:500;color:#6b7280;margin-bottom:12px}.action-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;width:100%;box-sizing:border-box}.action-grid .action-btn{display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column;-webkit-align-items:center;align-items:center;-webkit-justify-content:center;justify-content:center;gap:8px;padding:16px 10px;background:#f8fafc;border:1px solid #e5e7eb;border-radius:10px;cursor:pointer;font-size:.8125rem;font-family:inherit;color:#374151;-webkit-transition:all .2s;transition:all .2s;box-sizing:border-box;min-width:0;min-height:76px;text-align:center;line-height:1.4}.action-grid .action-btn span{display:block;width:100%;word-wrap:break-word;overflow-wrap:break-word}.action-grid .action-btn:hover:not(:disabled){background:#f0f4ff;border-color:#8b5cf6;color:#8b5cf6}.action-grid .action-btn:disabled{opacity:.5;cursor:not-allowed}.action-grid .action-btn svg{color:#8b5cf6}.messages-container{-webkit-flex:1;flex:1;overflow-y:auto;padding:20px;display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column;gap:16px}.chat-message{display:-webkit-flex;display:flex;gap:12px;-webkit-animation:messageIn .3s ease;animation:messageIn .3s ease}@keyframes messageIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.chat-message.user{flex-direction:row-reverse}.message-avatar{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0}.chat-message.user .message-avatar{background:#e5e7eb;color:#6b7280}.chat-message.assistant .message-avatar{background:linear-gradient(135deg,#8b5cf6,#6366f1);color:#fff}.message-content{max-width:85%}.chat-message.user .message-content{text-align:start}.message-text{background:#f3f4f6;padding:12px 16px;border-radius:16px;font-size:14px;line-height:1.7;color:#1f2937}.chat-message.user .message-text{background:#8b5cf6;color:#fff;border-bottom-right-radius:4px}.chat-message.assistant .message-text{border-bottom-left-radius:4px}.message-text .msg-h2{font-size:18px;font-weight:600;margin:16px 0 8px;color:#111827}.message-text .msg-h3{font-size:16px;font-weight:600;margin:12px 0 6px;color:#1f2937}.message-text .msg-h4{font-size:14px;font-weight:600;margin:10px 0 4px;color:#374151}.message-text .msg-li,.message-text .msg-li-num{margin-inline-start:20px;padding:2px 0}.system-message{padding:8px 12px;background:#fef3c7;border-radius:8px;font-size:13px;color:#92400e}.tool-intro-banner{display:flex;align-items:flex-start;gap:10px;padding:14px 16px;background:#f0f4ff;border:1px solid #c7d2fe;border-radius:12px;color:#4338ca;font-size:13px;line-height:1.6}.tool-intro-banner svg{flex-shrink:0;margin-top:2px}.loading-indicator{display:flex;align-items:center;gap:10px;padding:12px 16px;color:#6b7280;font-size:14px}.spin{animation:spin 1s linear infinite}.input-section{display:-webkit-flex;display:flex;gap:10px;padding:16px 20px;border-top:1px solid #e5e7eb;background:#f8fafc}.chat-input{-webkit-flex:1;flex:1;padding:12px 16px;border:1px solid #d1d5db;border-radius:12px;font-size:.875rem;font-family:inherit;outline:none;-webkit-transition:border-color .2s;transition:border-color .2s}.chat-input:focus{border-color:#8b5cf6}.chat-input::placeholder{color:#9ca3af}.chat-input:disabled{background:#f3f4f6}.send-btn{width:44px;height:44px;background:linear-gradient(135deg,#8b5cf6,#6366f1);border:none;border-radius:12px;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:transform .2s,opacity .2s}.send-btn:hover:not(:disabled){transform:scale(1.05)}.send-btn:disabled{opacity:.5;cursor:not-allowed}.hub-menu{-webkit-flex:1;flex:1;display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column;-webkit-align-items:center;align-items:center;-webkit-justify-content:center;justify-content:center;padding:40px 24px;overflow-y:auto}.hub-subtitle{font-size:.9375rem;color:#6b7280;margin-bottom:32px;font-weight:500}.hub-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;width:100%;max-width:520px;box-sizing:border-box}.hub-tool-btn{display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column;-webkit-align-items:center;align-items:center;-webkit-justify-content:center;justify-content:center;gap:8px;padding:20px 12px;background:#f8fafc;border:1px solid #e5e7eb;border-radius:14px;cursor:pointer;font-family:inherit;text-align:center;-webkit-transition:all .2s;transition:all .2s;min-height:110px;box-sizing:border-box}.hub-tool-btn:hover{background:#f0f4ff;border-color:#8b5cf6;-webkit-transform:translateY(-2px);transform:translateY(-2px);box-shadow:0 4px 12px #8b5cf626}.hub-tool-btn.content-analysis{border-color:#c4b5fd;background:#faf5ff}.hub-tool-btn.content-analysis:hover{background:#ede9fe;border-color:#8b5cf6}.hub-tool-icon{width:40px;height:40px;border-radius:10px;background:linear-gradient(135deg,#ede9fe,#e0e7ff);display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center;-webkit-justify-content:center;justify-content:center;color:#7c3aed}.hub-tool-btn.content-analysis .hub-tool-icon{background:linear-gradient(135deg,#8b5cf6,#6366f1);color:#fff}.hub-tool-label{font-size:.8125rem;font-weight:600;color:#1f2937;line-height:1.3;word-wrap:break-word;overflow-wrap:break-word}.hub-tool-desc{font-size:.6875rem;color:#9ca3af;line-height:1.3;word-wrap:break-word;overflow-wrap:break-word}.ai-chat-panel.full-screen-panel{width:100vw;height:100vh;inset:0;border-radius:0;max-width:none}.ai-emoji-toggle{display:flex;align-items:center;justify-content:space-between;padding:8px 0;font-size:13px;color:#374151;font-weight:500}.ai-toggle-switch{width:40px;height:22px;border-radius:11px;border:none;background:#d1d5db;cursor:pointer;position:relative;transition:background .2s;flex-shrink:0}.ai-toggle-switch.on{background:#8b5cf6}.ai-toggle-knob{position:absolute;top:2px;inset-inline-start:2px;width:18px;height:18px;border-radius:50%;background:#fff;transition:transform .2s;box-shadow:0 1px 3px #00000026}.ai-toggle-switch.on .ai-toggle-knob{transform:translate(18px)}[dir=rtl] .ai-toggle-switch.on .ai-toggle-knob{transform:translate(-18px)}@media(max-width:768px){.ai-chat-panel{width:100vw}.action-grid,.hub-grid{grid-template-columns:repeat(2,1fr)}}.ai-modal-wrapper{position:static}.ai-modal-overlay{position:fixed;inset:0;background:#0006;z-index:9999;animation:fadeIn .2s ease}.ai-modal-trigger{display:inline-flex;flex-direction:row;align-items:center;gap:.5rem;padding:.5rem 1rem;border:none;border-radius:8px;background:linear-gradient(135deg,#8b5cf6,#6366f1);color:#fff;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease}.ai-modal-trigger:hover{transform:translateY(-1px);box-shadow:0 4px 12px #8b5cf666}.ai-modal-trigger svg{animation:sparkle 2s ease-in-out infinite}@keyframes sparkle{0%,to{opacity:1}50%{opacity:.6}}.ai-modal-dropdown{position:fixed;top:0;inset-inline-start:0;width:500px;max-width:100%;height:100%;background:#fff;box-shadow:-4px 0 20px #00000026;display:flex;flex-direction:column;z-index:10000;animation:aiSlideIn .3s cubic-bezier(.16,1,.3,1)}@keyframes aiSlideIn{0%{transform:translate(100%)}to{transform:translate(0)}}.ai-modal-header{display:flex;align-items:center;justify-content:space-between;padding:16px 24px;background:linear-gradient(135deg,#8b5cf6,#6366f1);color:#fff}.ai-modal-title{display:flex;align-items:center;gap:12px;font-weight:600;font-size:18px}.ai-modal-close{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:none;border-radius:8px;background:#fff3;color:#fff;cursor:pointer;transition:background .2s}.ai-modal-close:hover{background:#ffffff4d}.ai-modal-content{flex:1;overflow-y:auto;padding:20px}.ai-actions-list{display:flex;flex-direction:column;gap:12px}.ai-action-category{background:#fff;border-radius:12px;border:1px solid #e5e7eb;overflow:hidden}.category-header{display:flex;align-items:center;justify-content:space-between;width:100%;padding:14px 18px;border:none;background:#fff;font-size:15px;font-weight:600;color:#374151;cursor:pointer;transition:background .2s}.category-header:hover{background:#f9fafb}.category-actions{display:flex;flex-direction:column;border-top:1px solid #e5e7eb}.ai-action-btn{display:flex;align-items:center;gap:14px;padding:14px 18px;border:none;background:#fff;text-align:start;cursor:pointer;transition:background .2s}.ai-action-btn:hover{background:#f3f4f6}.ai-action-btn:not(:last-child){border-bottom:1px solid #f3f4f6}.ai-action-btn svg{color:#8b5cf6;flex-shrink:0;width:20px;height:20px}.action-text{display:flex;flex-direction:column;gap:4px}.action-label{font-size:14px;font-weight:500;color:#1f2937}.action-desc{font-size:12px;color:#6b7280}.ai-custom-section{margin-top:8px}.custom-question-btn{display:flex;align-items:center;gap:10px;width:100%;padding:14px 18px;border:1px dashed #d1d5db;border-radius:12px;background:#fff;font-size:14px;color:#6b7280;cursor:pointer;transition:all .2s}.custom-question-btn:hover{border-color:#8b5cf6;color:#8b5cf6}.custom-input-wrapper{display:flex;gap:10px;background:#fff;border:1px solid #d1d5db;border-radius:12px;padding:6px}.custom-input{flex:1;border:none;padding:10px 12px;font-size:14px;outline:none;background:transparent}.custom-send-btn{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border:none;border-radius:10px;background:#8b5cf6;color:#fff;cursor:pointer;transition:background .2s}.custom-send-btn:hover:not(:disabled){background:#7c3aed}.custom-send-btn:disabled{opacity:.5;cursor:not-allowed}.ai-processing{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:60px 24px;color:#6b7280;font-size:15px}.ai-processing .spin{animation:spin 1s linear infinite;color:#8b5cf6}.ai-result{display:flex;flex-direction:column;gap:16px;height:100%}.result-content{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:20px;font-size:15px;line-height:1.9;color:#374151;flex:1;overflow-y:auto}.result-content p{margin:0 0 1em}.result-content p:last-child{margin-bottom:0}.result-content .md-h1,.result-content .md-h2,.result-content .md-h3{color:#1f2937;font-weight:700;margin:1.2em 0 .6em}.result-content .md-h1:first-child,.result-content .md-h2:first-child,.result-content .md-h3:first-child{margin-top:0}.result-content .md-h1{font-size:1.4em}.result-content .md-h2{font-size:1.25em}.result-content .md-h3{font-size:1.1em;color:#4b5563}.result-content .md-ul{margin:.8em 0;padding-inline-start:1.5em;list-style:none}.result-content .md-li{position:relative;margin:.5em 0;padding-inline-start:.5em}.result-content .md-li:before{content:"•";position:absolute;right:-1em;color:#8b5cf6;font-weight:700}.result-content .md-hr{border:none;border-top:1px solid #e5e7eb;margin:1.5em 0}.result-content strong{color:#1f2937;font-weight:600}.result-content em{font-style:italic;color:#4b5563}.result-actions{display:flex;gap:10px;justify-content:flex-end}.result-btn{display:flex;align-items:center;gap:8px;padding:10px 16px;border:1px solid #e5e7eb;border-radius:10px;background:#fff;font-size:14px;color:#374151;cursor:pointer;transition:all .2s}.result-btn:hover{background:#f9fafb;border-color:#d1d5db}.result-btn.secondary{color:#6b7280}.ai-suggestions-ref{background:linear-gradient(135deg,#f0fdf4,#f8fdfb);border:1px solid #d1fae5;border-radius:12px;padding:14px 16px;margin-bottom:4px}.suggestions-ref-header{display:flex;align-items:center;gap:8px;font-weight:700;font-size:.85rem;color:#065f46;margin-bottom:10px}.suggestions-ref-header svg{color:#059669}.suggestions-ref-item{padding:8px 10px;border-radius:8px;background:#fff;border:1px solid #d1fae5;margin-bottom:6px}.suggestions-ref-item:last-child{margin-bottom:0}.suggestions-ref-headline{font-size:.82rem;font-weight:600;color:#065f46;margin-bottom:4px}.suggestions-ref-angle{font-size:.75rem;color:#6b7280;line-height:1.4;margin-bottom:6px}.suggestions-ref-axes{display:flex;flex-wrap:wrap;gap:4px}.ref-axis{font-size:.65rem;color:#065f46;background:#d1fae5;padding:1px 7px;border-radius:8px}.sub-tab-wrapper{display:flex;align-items:center;gap:0;background:linear-gradient(180deg,#fff,#fafbfc);border-bottom:2px solid rgba(25,14,102,.08);position:sticky;top:var(--navbar-height);z-index:800;padding:0 1rem;height:var(--sub-tab-bar-height);box-shadow:0 2px 8px #00000008}.sub-tab-bar{display:flex;gap:.5rem;flex-wrap:nowrap;background:transparent;overflow-x:auto;padding:.1rem 0;flex:1}.sub-tab-bar::-webkit-scrollbar{height:4px}.sub-tab-bar::-webkit-scrollbar-track{background:transparent}.sub-tab-bar::-webkit-scrollbar-thumb{background:#d4a10f4d;border-radius:2px}.sub-tab{border:none;background:transparent;color:#6b7280;padding:.5rem 1.25rem;padding-inline-start:1.5rem;cursor:pointer;font-family:inherit;font-size:.95rem;font-weight:500;transition:all .25s ease;border-radius:10px;position:relative;white-space:nowrap;text-decoration:none}.sub-tab:before{content:"";position:absolute;bottom:0;right:50%;transform:translate(50%);width:0;height:3px;background:linear-gradient(90deg,#d4a10f,#f9c065);border-radius:3px 3px 0 0;transition:width .25s ease}.sub-tab:hover{color:#190e66;background:#190e660d}.sub-tab:hover:before{width:60%}.sub-tab.active{background:linear-gradient(135deg,#d4a10f1a,#f9c0650d);color:#190e66;font-weight:600;box-shadow:0 2px 8px #d4a10f26}.sub-tab.active:before{width:80%;background:linear-gradient(90deg,#d4a10f,#f9c065);box-shadow:0 0 8px #d4a10f66}.sub-tab.active:after{content:"";position:absolute;top:50%;inset-inline-start:.5rem;transform:translateY(-50%);width:6px;height:6px;border-radius:50%;background:#d4a10f}.sub-tab-left-content{display:flex;align-items:center;gap:.5rem}.sub-tab-page-title{display:flex;align-items:center;gap:.5rem;padding:.5rem 1.25rem;padding-inline-start:1.5rem;font-family:inherit;font-size:.95rem;font-weight:600;color:#190e66;border-radius:10px;position:relative;width:fit-content}.page-title-dot{width:6px;height:6px;border-radius:50%;background:linear-gradient(135deg,#d4a10f,#f9c065);box-shadow:0 0 8px #d4a10f80;animation:dotPulse 2s ease-in-out infinite}@keyframes dotPulse{0%,to{box-shadow:0 0 6px #d4a10f66}50%{box-shadow:0 0 12px #d4a10fb3}}.sub-tab-actions{display:flex;align-items:center;gap:.5rem;margin-inline-start:auto;position:relative}.subtab-action-btn{display:flex;align-items:center;gap:.375rem;height:32px;padding:0 .75rem;border:1px solid transparent;border-radius:8px;font-family:inherit;font-size:.8125rem;font-weight:600;cursor:pointer;transition:all .2s ease;white-space:nowrap;background:linear-gradient(135deg,#d4a10f,#b8860b);color:#fff;border-color:transparent}.subtab-action-btn:hover,.subtab-action-btn.active{background:linear-gradient(135deg,#b8860b,#996b0a);box-shadow:0 2px 8px #d4a10f59}.subtab-action-btn.ai{background:linear-gradient(135deg,#8b5cf6,#6366f1);color:#fff;border-color:transparent}.subtab-action-btn.ai:hover{box-shadow:0 2px 10px #8b5cf659;filter:brightness(1.08)}.sub-tab-wrapper.selection-active{background:linear-gradient(135deg,#8b5cf6,#6366f1);border-bottom-color:#8b5cf633}.ai-selection-inline{display:flex;align-items:center;justify-content:space-between;width:100%;padding:0 .25rem}.ai-selection-info{display:flex;align-items:center;gap:.5rem;color:#fff}.ai-selection-icon{animation:aiPulse 2s infinite}@keyframes aiPulse{0%,to{opacity:1}50%{opacity:.6}}.ai-selection-count{font-size:.875rem;font-weight:600;color:#fff}.ai-selection-actions{display:flex;align-items:center;gap:.5rem}.ai-sel-btn{display:flex;align-items:center;gap:.3rem;padding:.35rem .75rem;border:none;border-radius:6px;font-family:inherit;font-size:.8125rem;font-weight:600;cursor:pointer;transition:all .15s ease}.ai-sel-btn.cancel{background:#fff3;color:#fff}.ai-sel-btn.cancel:hover{background:#ffffff4d}.ai-sel-btn.proceed{background:#fff;color:#6366f1}.ai-sel-btn.proceed:hover:not(:disabled){background:#f0eeff}.ai-sel-btn.proceed:disabled{opacity:.5;cursor:not-allowed}@media(max-width:768px){.sub-tab-wrapper{padding:0 .5rem}.sub-tab{font-size:.78rem;padding:.3rem .65rem;white-space:nowrap}.sub-tab.active:after{display:none}.sub-tab-bar{scrollbar-width:none}.sub-tab-bar::-webkit-scrollbar{display:none}.subtab-action-btn span{display:none}.subtab-action-btn{padding:0 .35rem;border-radius:6px}}.loading-spinner-container{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;padding:3rem;min-height:90vh}.loading-spinner-container.full-screen{position:fixed;inset:0;background:radial-gradient(circle at top,#d4a10f40,#190e66f2);z-index:9999}.spinner{width:50px;height:50px;border:4px solid rgba(25,14,102,.15);border-top-color:#d4a10f;border-radius:50%;animation:spinnerRotate .8s linear infinite}.full-screen .spinner{border-color:#ffffff4d;border-top-color:#d4a10f}.loading-message{color:var(--text-secondary);font-size:.9375rem;font-weight:500}.full-screen .loading-message{color:#d4a10f;font-size:1.2rem;font-weight:600;text-shadow:0 2px 4px rgba(0,0,0,.3)}@keyframes spinnerRotate{to{transform:rotate(360deg)}}@keyframes skeletonShimmer{0%{background-position:-200% 0}to{background-position:200% 0}}.skeleton-block{background:linear-gradient(90deg,#e8e8ee 25%,#f4f4f8,#e8e8ee 75%);background-size:200% 100%;animation:skeletonShimmer 1.5s ease-in-out infinite;border-radius:6px}.skeleton-page{min-height:100vh;background:var(--bg-primary, #f5f5fa);display:flex;flex-direction:column}.skeleton-heading{width:200px;height:24px;margin-bottom:1.5rem}.skeleton-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1rem}.skeleton-card{background:var(--card-bg, #fff);border-radius:12px;padding:1.25rem;display:flex;flex-direction:column;gap:.75rem;box-shadow:0 1px 3px #0000000f}.skeleton-card-badge{width:60px;height:22px;border-radius:4px!important}.skeleton-card-title{width:90%;height:18px}.skeleton-card-text{width:70%;height:14px}.skeleton-card-footer{display:flex;gap:.75rem;margin-top:.5rem}.skeleton-card-meta{width:80px;height:14px}.skeleton-card-meta.short{width:50px}.footer{background:linear-gradient(180deg,#100a3c,#0f0833);color:#ffffffb3;padding:2rem 0 1rem;margin-top:auto;position:relative;border-top:4px solid #d4a10f;padding-inline-start:var(--sidebar-width);transition:padding-inline-start .3s ease}.footer.sidebar-collapsed{padding-inline-start:var(--sidebar-collapsed-width)}.footer-content{display:flex;justify-content:space-between;flex-wrap:wrap;gap:2rem;margin-bottom:1.5rem;padding-bottom:1.5rem;border-bottom:1px solid rgba(255,255,255,.1)}.footer-brand{flex:1;min-width:250px;display:flex;flex-direction:row;align-items:center;gap:1rem}.footer-logo{height:70px;width:auto;opacity:1;filter:brightness(0) invert(1)}.footer-info{display:flex;flex-direction:column;justify-content:center}.footer-title{color:#fff;font-size:1.1rem;font-weight:700;font-family:inherit;margin-bottom:.1rem}.footer-subtitle{color:#d4a10f;font-size:.85rem}.footer-links{display:flex;gap:3rem;flex-wrap:wrap}.footer-column{display:flex;flex-direction:column;gap:.4rem}.footer-column h4{color:#fff;font-family:inherit;font-size:1rem;margin-bottom:.75rem;position:relative;display:inline-block}.footer-column h4:after{content:"";position:absolute;bottom:-4px;inset-inline-start:0;width:25px;height:2px;background:#d4a10f}.footer-column a{color:#fff9;text-decoration:none;transition:all .2s ease;font-size:.85rem;display:flex;align-items:center;gap:.5rem}.footer-column a:hover{color:#d4a10f;transform:translate(4px)}.footer-column a:before{content:"›";font-size:1rem;opacity:0;transition:opacity .2s ease}.footer-column a:hover:before{opacity:1}.footer-bottom{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem;font-size:.8rem}.footer-powered{font-size:.8rem;font-weight:600;color:#ffffffd9;letter-spacing:.05em}.footer-version{display:flex;align-items:center;gap:.5rem;background:#ffffff0d;padding:.2rem .6rem;border-radius:20px;font-size:.75rem}.status-dot-connected{width:8px;height:8px;border-radius:50%;background:#22c55e;box-shadow:0 0 6px #22c55e80}[dir=ltr] .footer-column a:hover{transform:translate(-4px)}@media(max-width:768px){.footer{padding-inline-start:0}.footer-content{flex-direction:column}.footer-links{gap:1.5rem}}.sc-container{display:flex;flex-direction:column;height:500px}.sc-loading{display:flex;align-items:center;justify-content:center;height:200px;color:#6366f1}.sc-spin{animation:sc-spin .8s linear infinite}@keyframes sc-spin{to{transform:rotate(360deg)}}.sc-messages{flex:1;overflow-y:auto;padding:14px;display:flex;flex-direction:column;gap:8px}.sc-quick-options{display:flex;flex-direction:column;gap:8px;margin-bottom:8px}.sc-quick-label{font-size:12px;color:#94a3b8;font-weight:500;margin:0 0 4px;text-align:center}.sc-quick-btn{display:flex;align-items:center;gap:10px;padding:10px 14px;border:1.5px solid #e2e8f0;border-radius:10px;background:#fff;font-size:13px;font-weight:500;color:#334155;cursor:pointer;transition:all .15s;font-family:inherit;text-align:start}.sc-quick-btn:hover:not(:disabled){border-color:#c7d2fe;background:#fafaff}.sc-quick-btn:disabled{opacity:.5;cursor:not-allowed}.sc-quick-btn-compact{padding:6px 12px;font-size:12px}.sc-quick-icon{font-size:16px;flex-shrink:0}.sc-quick-btn-compact .sc-quick-icon{font-size:14px}.sc-msg{display:flex;gap:6px;max-width:85%}.sc-msg-user{align-self:flex-end;flex-direction:row-reverse}.sc-msg-other{align-self:flex-start}.sc-msg-system{align-self:center;max-width:100%}.sc-msg-avatar{width:26px;height:26px;border-radius:50%;background:#f1f5f9;display:flex;align-items:center;justify-content:center;color:#64748b;flex-shrink:0;margin-top:2px}.sc-msg-bubble{padding:8px 12px;border-radius:12px;font-size:13px;line-height:1.55;word-break:break-word}.sc-msg-user .sc-msg-bubble{background:linear-gradient(135deg,#6366f1,#4f46e5);color:#fff;border-end-end-radius:4px}.sc-msg-other .sc-msg-bubble{background:#f1f5f9;color:#1e293b;border-end-start-radius:4px}.sc-msg-system .sc-msg-bubble{background:transparent;padding:4px 0}.sc-msg-system-text{font-size:11.5px;color:#94a3b8;font-weight:500;text-align:center;display:block}.sc-msg-admin-badge{display:block;font-size:10px;font-weight:700;color:#6366f1;margin-bottom:2px}.sc-footer{padding:10px 14px 14px;border-top:1px solid #f1f5f9;display:flex;flex-direction:column;gap:8px}.sc-escalate-btn{display:flex;align-items:center;justify-content:center;gap:6px;padding:6px 12px;border:1.5px solid #e2e8f0;border-radius:8px;background:#fff;font-size:11.5px;font-weight:600;color:#64748b;cursor:pointer;transition:all .15s;font-family:inherit}.sc-escalate-btn:hover:not(:disabled){border-color:#6366f1;color:#6366f1;background:#fafaff}.sc-escalate-btn:disabled{opacity:.5;cursor:not-allowed}.sc-escalated-note{font-size:11.5px;color:#6366f1;font-weight:600;text-align:center;padding:4px 0}.sc-input-row{display:flex;gap:8px;align-items:center}.sc-input{flex:1;padding:9px 12px;border:1.5px solid #e2e8f0;border-radius:10px;font-size:13px;font-family:inherit;background:#fff;color:#1e293b;transition:border-color .15s}.sc-input:focus{outline:none;border-color:#818cf8}.sc-input::placeholder{color:#94a3b8}.sc-send-btn{width:36px;height:36px;border-radius:10px;border:none;background:linear-gradient(135deg,#6366f1,#4f46e5);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .15s;flex-shrink:0}.sc-send-btn:hover:not(:disabled){background:linear-gradient(135deg,#4f46e5,#4338ca)}.sc-send-btn:disabled{opacity:.4;cursor:not-allowed}.stf-form{display:flex;flex-direction:column;gap:14px;padding:14px}.stf-error{padding:8px 12px;background:#fef2f2;color:#dc2626;border-radius:8px;font-size:12px;border:1px solid #fecaca;font-weight:500}.stf-success{display:flex;flex-direction:column;align-items:center;gap:12px;padding:40px 20px;text-align:center}.stf-success-icon{width:60px;height:60px;border-radius:50%;background:linear-gradient(135deg,#d1fae5,#a7f3d0);display:flex;align-items:center;justify-content:center;color:#059669}.stf-success p{font-size:13px;font-weight:600;color:#065f46}.stf-priority-row{display:flex;flex-direction:column;gap:6px}.stf-priority-row>label{font-size:12px;font-weight:600;color:#334155}.stf-priority-pills{display:flex;gap:6px;flex-wrap:wrap}.stf-priority-pill{display:flex;align-items:center;gap:5px;padding:5px 10px;border:1.5px solid #e2e8f0;border-radius:16px;background:#fff;font-size:11px;font-weight:600;cursor:pointer;transition:all .2s;font-family:inherit;color:#64748b}.stf-priority-pill:hover{border-color:var(--pill-color)}.stf-priority-pill.active{border-color:var(--pill-color);color:#334155;box-shadow:0 0 0 2px color-mix(in srgb,var(--pill-color) 10%,transparent)}.stf-priority-dot{width:7px;height:7px;border-radius:50%;background:var(--pill-color)}.stf-field{display:flex;flex-direction:column;gap:5px}.stf-field label{font-size:12px;font-weight:600;color:#334155;display:flex;align-items:center;gap:4px}.stf-req{color:#ef4444}.stf-field input,.stf-field textarea{padding:8px 12px;border:1.5px solid #e2e8f0;border-radius:8px;font-size:13px;font-family:inherit;background:#fff;transition:all .15s;color:#1e293b}.stf-field input:focus,.stf-field textarea:focus{outline:none;border-color:#818cf8;box-shadow:0 0 0 2px #818cf81a}.stf-field input::placeholder,.stf-field textarea::placeholder{color:#94a3b8}.stf-field textarea{resize:vertical;min-height:70px;line-height:1.5}.stf-file-count{margin-inline-start:auto;font-size:10px;font-weight:700;color:#94a3b8}.stf-files-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}.stf-file-thumb{position:relative;border-radius:6px;overflow:hidden;border:1.5px solid #e2e8f0;background:#f8fafc;aspect-ratio:1}.stf-file-thumb img,.stf-file-thumb video{display:block;width:100%;height:100%;object-fit:cover}.stf-file-doc{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;width:100%;height:100%;color:#64748b}.stf-file-doc span{font-size:9px;font-weight:700;text-transform:uppercase;color:#94a3b8}.stf-thumb-uploading{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#ffffffbf;color:#6366f1}.stf-thumb-remove{position:absolute;top:3px;inset-inline-end:3px;width:18px;height:18px;display:flex;align-items:center;justify-content:center;border:none;background:#0f172a99;color:#fff;border-radius:50%;cursor:pointer;opacity:0;transition:all .15s}.stf-file-thumb:hover .stf-thumb-remove{opacity:1}.stf-thumb-remove:hover{background:#ef4444}.stf-dropzone{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:16px 12px;border:2px dashed #e2e8f0;border-radius:10px;background:#f8fafc;cursor:pointer;transition:all .15s;color:#94a3b8}.stf-dropzone.compact{padding:8px;flex-direction:row;gap:6px}.stf-dropzone:hover{border-color:#818cf8;background:#fafaff;color:#6366f1}.stf-dropzone.drag-over{border-color:#818cf8;background:#eef2ff;color:#6366f1}.stf-dropzone span{font-size:12px;font-weight:500}.stf-spin{animation:sc-spin .8s linear infinite}.stf-actions{display:flex;justify-content:flex-end;gap:8px;padding-top:6px}.stf-btn-cancel{padding:8px 16px;border:1.5px solid #e2e8f0;border-radius:8px;background:#fff;color:#475569;font-size:12px;font-weight:600;cursor:pointer;font-family:inherit;transition:all .15s}.stf-btn-cancel:hover{background:#f8fafc;border-color:#cbd5e1}.stf-btn-submit{display:flex;align-items:center;gap:6px;padding:8px 18px;border:none;border-radius:8px;background:linear-gradient(135deg,#6366f1,#4f46e5);color:#fff;font-size:12px;font-weight:700;cursor:pointer;font-family:inherit;transition:all .15s;box-shadow:0 2px 6px #6366f140}.stf-btn-submit:hover:not(:disabled){background:linear-gradient(135deg,#4f46e5,#4338ca)}.stf-btn-submit:disabled{opacity:.4;cursor:not-allowed}.sw-fab{position:fixed;bottom:24px;inset-inline-end:24px;z-index:900;width:52px;height:52px;border-radius:50%;border:none;background:linear-gradient(135deg,#6366f1,#4f46e5);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 4px 16px #6366f159;transition:all .25s ease}.sw-fab:hover{transform:scale(1.08);box-shadow:0 6px 20px #6366f173}.sw-fab.active{background:#334155;box-shadow:0 4px 12px #3341554d}.sw-fab:not(.active){animation:sw-pulse 2.5s ease-in-out infinite}@keyframes sw-pulse{0%,to{box-shadow:0 4px 16px #6366f159}50%{box-shadow:0 4px 24px #6366f18c,0 0 0 8px #6366f114}}.sw-fab-badge{position:absolute;top:-4px;inset-inline-end:-4px;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:#ef4444;color:#fff;font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center;line-height:1;border:2px solid #fff;box-shadow:0 2px 6px #ef444466;animation:sw-badge-pop .3s ease-out}@keyframes sw-badge-pop{0%{transform:scale(0)}to{transform:scale(1)}}.sw-panel{position:fixed;bottom:88px;inset-inline-end:24px;z-index:900;width:420px;max-height:640px;background:#fff;border-radius:16px;box-shadow:0 8px 40px #00000026,0 0 0 1px #0000000d;display:flex;flex-direction:column;overflow:hidden;animation:sw-slide-up .25s ease-out}@keyframes sw-slide-up{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.sw-header{display:flex;align-items:center;gap:8px;padding:14px 16px;background:linear-gradient(135deg,#6366f1,#4f46e5);color:#fff}.sw-header-title{flex:1;font-size:14px;font-weight:700}.sw-back,.sw-close{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border:none;background:#ffffff26;color:#fff;border-radius:8px;cursor:pointer;transition:background .15s}.sw-back:hover,.sw-close:hover{background:#ffffff40}.sw-body{flex:1;overflow-y:auto;min-height:0}.sw-home{padding:16px}.sw-greeting{font-size:14px;font-weight:600;color:#334155;margin:0 0 16px;line-height:1.6}.sw-cards{display:flex;flex-direction:column;gap:10px}.sw-card{display:flex;align-items:center;gap:12px;padding:14px;border:1.5px solid #e2e8f0;border-radius:12px;background:#fff;cursor:pointer;transition:all .2s;text-align:start;font-family:inherit}.sw-card:hover{border-color:#c7d2fe;background:#fafaff;transform:translateY(-1px);box-shadow:0 2px 8px #6366f114}.sw-card-icon{width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.sw-card-chat .sw-card-icon{background:linear-gradient(135deg,#ede9fe,#ddd6fe);color:#7c3aed}.sw-card-issue .sw-card-icon{background:linear-gradient(135deg,#fee2e2,#fecaca);color:#dc2626}.sw-card-feature .sw-card-icon{background:linear-gradient(135deg,#d1fae5,#a7f3d0);color:#059669}.sw-card-text{display:flex;flex-direction:column;gap:2px;min-width:0}.sw-card-title{font-size:13px;font-weight:700;color:#1e293b}.sw-card-desc{font-size:11.5px;color:#64748b;line-height:1.4}@media(max-width:480px){.sw-panel{inset-inline-start:8px;inset-inline-end:8px;width:auto;bottom:80px;max-height:calc(100dvh - 100px)}}.app-layout{display:flex;flex-direction:column;min-height:100vh}.app-shell{display:flex;flex:1;min-height:0;background:var(--bg-app);position:relative;padding-inline-start:var(--sidebar-width);transition:padding-inline-start .3s ease;overflow:visible}.app-shell.sidebar-collapsed{padding-inline-start:var(--sidebar-collapsed-width)}.main-panel{flex:1;width:100%;min-width:0;min-height:0;display:flex;flex-direction:column}.main-content-area{flex:1;min-height:0;padding:.5rem;animation:fadeIn .3s ease;display:flex;flex-direction:column;overflow:visible}.main-content-area.scrollable-columns{height:calc(100vh - var(--navbar-height) - var(--sub-tab-bar-height));overflow:hidden}@media(max-width:768px){.app-shell,.app-shell.sidebar-collapsed{padding-inline-start:0}.main-content-area.scrollable-columns{height:calc(100vh - var(--navbar-height) - var(--sub-tab-bar-height) - 1rem)}}.push-prompt-overlay{position:fixed;bottom:1.5rem;inset-inline-end:1.5rem;z-index:10001;animation:pushPromptSlideIn .3s ease}.push-prompt-card{background:var(--bg-card, #fff);border-radius:var(--radius-lg, 14px);padding:1.5rem;width:340px;box-shadow:0 20px 60px #00000026,0 0 0 1px #190e6614;position:relative}.push-prompt-close{position:absolute;top:.75rem;inset-inline-start:.75rem;width:28px;height:28px;background:transparent;border:none;border-radius:6px;cursor:pointer;color:var(--text-secondary, #6b7280);display:flex;align-items:center;justify-content:center;transition:all .15s ease}.push-prompt-close:hover{background:var(--bg-tertiary, #f3f4f6);color:var(--text-primary, #1f2937)}.push-prompt-icon{width:52px;height:52px;background:linear-gradient(135deg,#190e661a,#d4a10f26);border:2px solid rgba(212,161,15,.3);border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 1rem;color:var(--gold, #d4a10f)}.push-prompt-title{margin:0 0 .5rem;font-size:1.1rem;font-weight:700;color:var(--text-primary, #1f2937);text-align:center;font-family:inherit}.push-prompt-body{margin:0 0 1.25rem;font-size:.85rem;color:var(--text-secondary, #6b7280);text-align:center;line-height:1.5}.push-prompt-hint{margin:-.5rem 0 1rem;font-size:.78rem;color:var(--text-tertiary, #9ca3af);text-align:center;line-height:1.4}.push-prompt-actions{display:flex;flex-direction:column;gap:.5rem}.push-prompt-enable{width:100%;padding:.7rem 1rem;background:var(--primary, #190e66);color:#fff;border:none;border-radius:var(--radius-sm, 8px);font-size:.9rem;font-weight:600;cursor:pointer;font-family:inherit;transition:all .15s ease}.push-prompt-enable:hover:not(:disabled){background:var(--primary-light, #2d1a99);transform:translateY(-1px);box-shadow:0 4px 12px #190e664d}.push-prompt-enable:disabled{opacity:.7;cursor:not-allowed}.push-prompt-later{width:100%;padding:.6rem 1rem;background:transparent;color:var(--text-secondary, #6b7280);border:none;border-radius:var(--radius-sm, 8px);font-size:.85rem;font-weight:500;cursor:pointer;font-family:inherit;transition:all .15s ease}.push-prompt-later:hover{background:var(--bg-tertiary, #f3f4f6);color:var(--text-primary, #1f2937)}@keyframes pushPromptSlideIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.role-toggle-wrapper{display:none;position:fixed;bottom:24px;left:50%;transform:translate(-50%);z-index:900}.role-toggle{display:flex;align-items:center;gap:8px;padding:10px 16px;background:var(--primary-color);color:#fff;border:none;border-radius:24px;cursor:pointer;font-size:14px;font-weight:500;box-shadow:0 4px 12px #0000004d;transition:all .2s ease}.role-toggle:hover{box-shadow:0 6px 16px #0006}.role-toggle.viewing-as-user{position:fixed;bottom:24px;left:50%;transform:translate(-50%);z-index:900;background:#f59e0b}.role-toggle.viewing-as-user:hover{background:#d97706}.role-toggle-dropdown{position:absolute;bottom:100%;left:50%;transform:translate(-50%);margin-bottom:8px;background:var(--bg-primary);border:1px solid var(--border-color);border-radius:12px;box-shadow:0 8px 24px #0003;min-width:160px;overflow:hidden}.role-toggle-option{display:block;width:100%;padding:10px 16px;background:none;border:none;color:var(--text-primary);font-size:14px;cursor:pointer;text-align:start}.role-toggle-option:hover{background:var(--bg-hover)}@font-face{font-family:Al Jazeera;src:url(/fonts/Al-Jazeera-Regular.woff2) format("woff2"),url(/fonts/Al-Jazeera-Regular.woff) format("woff"),url(/fonts/Al-Jazeera-Regular.ttf) format("truetype");font-weight:400;font-style:normal;font-display:swap}:root{--primary: #190e66;--primary-color: #190e66;--primary-light: #2d1a99;--primary-hover: #1e3a8a;--gold: #d4a10f;--gold-light: #f9c065;--success: #059669;--success-light: #d1fae5;--warning: #f59e0b;--warning-light: #fef3c7;--danger: #dc2626;--danger-light: #fee2e2;--info: #3b82f6;--info-light: #dbeafe;--bg-app: #f8f9fe;--bg-card: #ffffff;--bg-sidebar: linear-gradient(180deg, #100a3c 0%, #1a1147 50%, #0f0833 100%);--bg-navbar: linear-gradient(135deg, #190e66 0%, #2d1a99 100%);--bg-footer: linear-gradient(180deg, #100a3c 0%, #0f0833 100%);--text-primary: #1f2937;--text-secondary: #6b7280;--border-light: #e5e7eb;--border-gold: rgba(212, 161, 15, .3);--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .05);--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1);--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1);--shadow-navbar: 0 4px 20px rgba(25, 14, 102, .3), 0 2px 8px rgba(0, 0, 0, .1);--radius-sm: 8px;--radius-md: 12px;--radius-lg: 14px;--radius-xl: 16px;--navbar-height: 70px;--sidebar-width: 280px;--sidebar-collapsed-width: 70px;--sub-tab-bar-height: 40px;--transition: all .3s ease;--transition-fast: all .15s ease}*{margin:0;padding:0;box-sizing:border-box}html{scroll-behavior:smooth}body{font-family:Al Jazeera,sans-serif;background-color:var(--bg-app);color:var(--text-primary);line-height:1.6;min-height:100vh;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#root{min-height:100vh;display:flex;flex-direction:column}[dir=ltr] body{font-family:Al Jazeera,sans-serif}a{color:inherit;text-decoration:none}button{font-family:inherit;cursor:pointer}.container{max-width:1400px;margin:0 auto;padding:0 20px}.card{background:var(--bg-card);border-radius:var(--radius-md);padding:2rem;box-shadow:var(--shadow-md)}.progress-bar{height:100%;border-radius:2px;transition:width .3s ease}.progress-bar.high{background:var(--success)}.progress-bar.medium{background:var(--warning)}.progress-bar.low{background:var(--danger)}.filters-bar{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center;margin-bottom:1.5rem}.filter-input{flex:1;min-width:200px;padding:.625rem 1rem;border:1px solid var(--border-light);border-radius:var(--radius-sm);font-family:inherit;font-size:.875rem;outline:none;transition:border-color .2s}.filter-input:focus{border-color:var(--primary)}.filter-select{padding:.625rem .75rem;border:1px solid var(--border-light);border-radius:var(--radius-sm);font-family:inherit;font-size:.875rem;background:#fff;cursor:pointer;outline:none}.filter-count{font-size:.875rem;color:var(--text-secondary);padding:.625rem}.empty-section{text-align:center;padding:3rem;color:var(--text-secondary)}.empty-section h3{color:var(--primary);margin-bottom:.5rem}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:#0000000d}::-webkit-scrollbar-thumb{background:#190e6633;border-radius:3px}::-webkit-scrollbar-thumb:hover{background:#190e6666}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideIn{0%{opacity:0;transform:translate(-10px)}to{opacity:1;transform:translate(0)}}@keyframes pulse-badge{0%,to{transform:scale(1)}50%{transform:scale(1.1)}}.kpi-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:1rem;margin-bottom:1.5rem}.table-wrapper{overflow-x:auto;border-radius:var(--radius-md);box-shadow:var(--shadow-md);background:#fff}@media(max-width:768px){.kpi-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:480px){.kpi-grid{grid-template-columns:1fr}}.btn-primary,.btn-secondary,.btn-ghost,.btn-danger{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.625rem 1.25rem;border-radius:var(--radius-md);font-size:.875rem;font-weight:600;cursor:pointer;transition:var(--transition-fast);border:none;white-space:nowrap}.btn-primary{background:linear-gradient(135deg,var(--primary) 0%,var(--primary-light) 100%);color:#fff;box-shadow:0 2px 8px #190e664d}.btn-primary:hover{transform:translateY(-1px);box-shadow:0 4px 16px #190e6666}.btn-secondary{background:#fff;color:var(--text-primary);border:1px solid var(--border-light);box-shadow:var(--shadow-sm)}.btn-secondary:hover{background:#f8fafc;border-color:#cbd5e1}.btn-ghost{background:transparent;color:var(--text-secondary)}.btn-ghost:hover{background:#f1f5f9;color:var(--text-primary)}.btn-danger{background:linear-gradient(135deg,var(--danger) 0%,#b91c1c 100%);color:#fff}.btn-danger:hover{box-shadow:0 4px 16px #dc262666}.btn-gold{background:linear-gradient(135deg,var(--gold) 0%,var(--gold-light) 100%);color:var(--primary);font-weight:600;box-shadow:0 2px 8px #d4a10f4d}.btn-gold:hover{transform:translateY(-1px);box-shadow:0 4px 16px #d4a10f66}.icon-btn{width:36px;height:36px;border:none;background:transparent;border-radius:var(--radius-sm);cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--text-secondary);transition:var(--transition-fast)}.icon-btn:hover{background:#f1f5f9;color:var(--text-primary)}.icon-btn.close:hover{background:#fef2f2;color:var(--danger)}.modal-backdrop{position:fixed;inset:0;background:#0f172a99;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:1000;padding:2rem;animation:fadeIn .2s ease}.loading-state,.empty-state,.error-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4rem 2rem;text-align:center;color:var(--text-secondary)}.loading-state svg,.empty-state svg,.error-state svg{color:var(--primary);margin-bottom:1rem;opacity:.6}.error-state svg{color:var(--danger);opacity:.8}.loading-pulse{display:flex;flex-direction:column;align-items:center;gap:.75rem;animation:pulse-fade 1.8s ease-in-out infinite}.loading-pulse h3{font-size:1.125rem;font-weight:600;color:var(--text-primary);margin:0}.loading-pulse p{font-size:.875rem;color:var(--text-secondary);margin:0}@keyframes pulse-fade{0%,to{opacity:.4}50%{opacity:1}}.error-state h3{font-size:1.25rem;font-weight:600;color:var(--danger);margin:0 0 .5rem}.error-state p{font-size:.938rem;color:var(--text-secondary);margin:0}.empty-state h3{font-size:1.25rem;font-weight:600;color:var(--text-primary);margin:0 0 .5rem}.empty-state p{font-size:.938rem;color:var(--text-secondary);margin:0 0 1.5rem}.sync-indicator{display:inline-flex;align-items:center;gap:.375rem;font-size:.813rem;color:var(--primary);opacity:.8}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.spinning{animation:spin 1s linear infinite}.filters-panel{background:#fff;border-bottom:1px solid var(--border-light);padding:1rem 2rem}.filters-panel .quick-filters{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}.filters-panel .search-box{position:relative;flex:0 0 auto;width:200px}.filters-panel .search-box .search-icon{position:absolute;inset-inline-start:12px;top:50%;transform:translateY(-50%);color:var(--text-secondary);pointer-events:none}.filters-panel .search-box input{width:100%;padding:.6rem 2.5rem;border:1px solid var(--border-light);border-radius:var(--radius-lg);font-size:.85rem;background:#f8fafc;transition:var(--transition-fast)}.filters-panel .search-box input:focus{outline:none;border-color:var(--gold);background:#fff;box-shadow:0 0 0 4px #d4a10f26}.filters-panel .search-box .clear-btn{position:absolute;inset-inline-end:10px;top:50%;transform:translateY(-50%);width:24px;height:24px;border:none;background:#e2e8f0;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--text-secondary);transition:var(--transition-fast)}.filters-panel .search-box .clear-btn:hover{background:#cbd5e1;color:var(--text-primary)}.filters-panel .quick-selects{display:flex;gap:.5rem}.filters-panel .filter-dropdown{position:relative}.filters-panel .dropdown-trigger{display:flex;align-items:center;gap:.4rem;padding:.6rem .85rem;border:1px solid var(--border-light);border-radius:var(--radius-md);background:#fff;color:var(--text-secondary);font-size:.8rem;font-weight:500;cursor:pointer;min-width:115px;transition:var(--transition-fast)}.filters-panel .dropdown-trigger:hover,.filters-panel .dropdown-trigger.active{border-color:var(--primary);color:var(--primary)}.filters-panel .dropdown-label{flex:1;text-align:start;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.filters-panel .dropdown-chevron{transition:transform .15s ease;flex-shrink:0}.filters-panel .dropdown-chevron.rotated{transform:rotate(180deg)}.filters-panel .filter-dropdown .dropdown-menu{position:absolute;top:calc(100% + 8px);inset-inline-start:0;background:#fff;border-radius:var(--radius-lg);box-shadow:0 8px 32px #190e6626;padding:.5rem;min-width:180px;max-height:300px;overflow-y:auto;z-index:1000;animation:fadeDropdown .15s ease;border:1px solid var(--border-light)}.filters-panel .filter-dropdown .dropdown-item{display:flex;align-items:center;gap:.5rem;width:100%;padding:.625rem .875rem;border:none;background:transparent;border-radius:var(--radius-sm);font-size:.85rem;color:var(--text-primary);cursor:pointer;transition:var(--transition-fast);text-align:start}.filters-panel .filter-dropdown .dropdown-item:hover{background:#190e660f}.filters-panel .filter-dropdown .dropdown-item.active{background:linear-gradient(135deg,var(--primary) 0%,var(--primary-light) 100%);color:#fff}.filters-panel .reset-filters-btn{display:flex;align-items:center;gap:.375rem;padding:.75rem 1rem;border:none;background:#fef2f2;color:var(--danger);font-size:.85rem;font-weight:500;border-radius:var(--radius-md);cursor:pointer;transition:var(--transition-fast)}.filters-panel .reset-filters-btn:hover{background:#fee2e2}.filters-panel .expand-filters-btn{display:flex;align-items:center;gap:.375rem;padding:.625rem 1rem;border:1px dashed rgba(25,14,102,.2);border-radius:10px;background:transparent;font-family:inherit;font-size:.8125rem;color:var(--text-secondary);cursor:pointer;transition:all .2s}.filters-panel .expand-filters-btn:hover{border-color:var(--primary);color:var(--primary);background:#190e6605}.filters-panel .expand-filters-btn.active{border-style:solid;border-color:var(--primary);color:var(--primary);background:#190e660d}.filters-panel .expand-filters-btn .filter-count{background:var(--primary);color:#fff;padding:.125rem .5rem;border-radius:100px;font-size:.75rem;font-weight:700}.filters-panel .advanced-filters{padding-top:1rem;margin-top:1rem;border-top:1px solid rgba(25,14,102,.08)}.filters-panel .filters-row{display:flex;gap:.5rem;flex-wrap:wrap}.filters-panel .date-dropdown .dropdown-trigger{min-width:120px}.filters-panel .date-dropdown .date-menu{padding:.75rem;min-width:200px}.filters-panel .date-dropdown .date-menu input[type=date]{width:100%;padding:.5rem;border:1px solid var(--border-light);border-radius:var(--radius-sm);font-size:.85rem;margin-bottom:.5rem}.filters-panel .date-dropdown .clear-date-btn{display:flex;align-items:center;gap:.25rem;width:100%;padding:.5rem;border:none;background:#fef2f2;color:var(--danger);border-radius:var(--radius-sm);font-size:.8rem;cursor:pointer}.filters-panel .date-dropdown .clear-date-btn:hover{background:#fee2e2}.filters-panel .advanced-filters-toggle{display:flex;align-items:center;gap:.375rem;padding:.5rem .875rem;border:none;background:transparent;font-family:inherit;font-size:.8125rem;color:var(--text-secondary);cursor:pointer;transition:all .2s}.filters-panel .advanced-filters-toggle:hover{color:var(--primary)}.filters-panel .advanced-filters-toggle svg{transition:transform .2s}.filters-panel .advanced-filters-toggle.expanded svg{transform:rotate(180deg)}.filters-panel .filters-advanced-row{display:flex;gap:.75rem;padding-top:.75rem;margin-top:.75rem;border-top:1px solid rgba(25,14,102,.08);flex-wrap:wrap}.filters-panel .clear-filters-btn{display:flex;align-items:center;gap:.375rem;padding:.5rem .875rem;border:none;background:#fef2f2;color:#dc2626;border-radius:8px;font-family:inherit;font-size:.8125rem;font-weight:500;cursor:pointer;transition:all .2s}.filters-panel .clear-filters-btn:hover{background:#fee2e2}.filters-panel .filter-group{display:flex;flex-direction:column;gap:.375rem}.filters-panel .filter-group label{font-size:.75rem;font-weight:500;color:var(--text-secondary)}.filters-panel .filter-group select{padding:.625rem .875rem;border:1px solid var(--border-light);border-radius:var(--radius-md);font-size:.85rem;background:#fff;cursor:pointer;transition:var(--transition-fast)}.filters-panel .filter-group select:hover,.filters-panel .filter-group select:focus{outline:none;border-color:var(--primary)}.filters-panel .date-input-wrapper{display:flex;align-items:center;gap:.5rem;padding:.625rem .875rem;border:1px solid var(--border-light);border-radius:var(--radius-md);background:#fff;cursor:pointer;transition:var(--transition-fast)}.filters-panel .date-input-wrapper:hover,.filters-panel .date-input-wrapper:focus-within{border-color:var(--primary)}.filters-panel .date-input-wrapper svg{color:var(--text-secondary);flex-shrink:0}.filters-panel .date-input-wrapper input{border:none;outline:none;font-size:.85rem;background:transparent;width:100%}@keyframes fadeDropdown{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}@media(max-width:768px){:root{--navbar-height: 56px;--sidebar-width: 0px;--sidebar-collapsed-width: 0px}.hide-mobile{display:none!important}}@media(min-width:769px){.hide-desktop{display:none!important}}
