.organization-switcher{position:relative;display:inline-block}.organization-switcher-button{display:flex;align-items:center;gap:8px;background:#fff3;color:#fff;border:1px solid rgba(255,255,255,.3);border-radius:4px;padding:8px 12px;font-size:14px;cursor:pointer;transition:background .3s;white-space:nowrap}.organization-switcher-button:hover:not(:disabled){background:#ffffff4d}.organization-switcher-button:disabled{opacity:.6;cursor:not-allowed}.organization-icon{font-size:16px}.organization-name{font-weight:500;max-width:150px;overflow:hidden;text-overflow:ellipsis}.organization-arrow{font-size:10px;opacity:.8}.organization-dropdown{position:absolute;top:calc(100% + 8px);right:0;background:#fff;border:1px solid #e0e0e0;border-radius:8px;box-shadow:0 4px 12px #00000026;min-width:250px;max-width:350px;z-index:1000;overflow:hidden}.organization-error{padding:12px;background:#ffebee;color:#c62828;font-size:13px;border-bottom:1px solid #e0e0e0}.organization-item{display:flex;align-items:center;justify-content:space-between;width:100%;padding:12px 16px;border:none;background:#fff;cursor:pointer;transition:background .2s;text-align:left;border-bottom:1px solid #f5f5f5}.organization-item:last-child{border-bottom:none}.organization-item:hover:not(:disabled){background:#f5f5f5}.organization-item:disabled{cursor:not-allowed;opacity:.6}.organization-item.active{background:#e3f2fd;font-weight:500}.organization-item-name{flex:1;font-size:14px;color:#333;margin-right:8px}.organization-item-type{font-size:12px;color:#666;padding:2px 8px;border-radius:4px;background:#f0f0f0;white-space:nowrap}.organization-item.active .organization-item-type{background:#bbdefb;color:#1976d2}.organization-item-check{margin-left:8px;color:#4caf50;font-weight:700;font-size:16px}.organization-switcher-modal{width:100%}.organization-list{display:flex;flex-direction:column;gap:8px}.organization-item-modal{display:flex;align-items:center;justify-content:space-between;width:100%;padding:12px 16px;border:2px solid #e0e0e0;border-radius:6px;background:#fff;cursor:pointer;transition:all .2s;text-align:left}.organization-item-modal:hover:not(:disabled){border-color:#1976d2;background:#f5f5f5}.organization-item-modal:disabled{cursor:not-allowed;opacity:.6}.organization-item-modal.active{border-color:#1976d2;background:#e3f2fd;font-weight:500}.organization-item-content{display:flex;align-items:center;gap:12px;flex:1}.organization-item-modal .organization-item-name{font-size:15px;color:#333;font-weight:500}.organization-item-modal .organization-item-type{font-size:12px;color:#666;padding:4px 10px;border-radius:4px;background:#f0f0f0;white-space:nowrap}.organization-item-modal.active .organization-item-type{background:#bbdefb;color:#1976d2}.organization-item-modal .organization-item-check{color:#4caf50;font-weight:700;font-size:18px;margin-left:12px}.organization-loading{font-size:12px;color:#666;font-style:italic;margin-left:8px}@media (max-width: 768px){.organization-switcher-button{padding:10px 12px;font-size:13px}.organization-name{max-width:100px}.organization-dropdown{right:0;left:auto;min-width:220px;max-width:280px}.organization-item-modal{padding:14px 16px}.organization-item-content{flex-direction:column;align-items:flex-start;gap:6px}}.change-password-modal{max-width:500px}.change-password-modal .form-group{margin-bottom:20px}.change-password-modal .form-group label{display:block;margin-bottom:8px;color:#333;font-weight:500}.change-password-modal .form-group input{width:100%;padding:10px;border:2px solid #e0e0e0;border-radius:4px;font-size:14px;box-sizing:border-box}.change-password-modal .form-group input:focus{outline:none;border-color:#1976d2}.change-password-modal .error-message{margin-bottom:15px;padding:10px;background:#ffebee;color:#c62828;border-radius:4px;font-size:14px}.change-password-modal .modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.change-password-modal .modal-actions .btn-primary{background:#1976d2;color:#fff;border:none;padding:10px 20px;border-radius:4px;cursor:pointer;font-size:14px;font-weight:500;transition:background .3s}.change-password-modal .modal-actions .btn-primary:hover:not(:disabled){background:#1565c0}.change-password-modal .modal-actions .btn-primary:disabled{opacity:.6;cursor:not-allowed}.change-password-modal .modal-actions .btn-secondary{background:#e0e0e0;color:#333;border:none;padding:10px 20px;border-radius:4px;cursor:pointer;font-size:14px;font-weight:500;transition:background .3s}.change-password-modal .modal-actions .btn-secondary:hover:not(:disabled){background:#d0d0d0}.change-password-modal .modal-actions .btn-secondary:disabled{opacity:.6;cursor:not-allowed}@media (max-width: 768px){.change-password-modal{max-width:95%;padding:20px}.change-password-modal .form-group input[type=password],.change-password-modal .form-group input[type=text],.change-password-modal .form-group input{padding:12px!important;font-size:16px!important;min-height:44px;-webkit-text-size-adjust:100%;text-size-adjust:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none}.change-password-modal .modal-actions{flex-direction:column-reverse;gap:10px}.change-password-modal .modal-actions .btn-primary,.change-password-modal .modal-actions .btn-secondary{width:100%;padding:12px 20px;font-size:16px;min-height:44px}}.app-layout{min-height:100vh;display:flex;flex-direction:column}.app-header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:30px 20px;box-shadow:0 2px 10px #0000001a;position:sticky;top:0;z-index:100}.header-content{max-width:1200px;margin:0 auto;display:flex;justify-content:space-between;align-items:center}.header-title-section{text-align:left}.header-title-row{display:flex;align-items:center;gap:10px}.tier-pill-header{padding:4px 10px;border-radius:3px;font-size:12px;font-weight:600;background:#e3f2fd;color:#1976d2}.tier-pill-header.tier-pro{background:#e8f5e9;color:#2e7d32}.tier-pill-header.tier-enterprise{background:#f3e5f5;color:#6a1b9a}.tier-pill-header.tier-demo{background:#fff3e0;color:#ef6c00}.tier-pill-header.tier-no-subscription{background:#ffebee;color:#c62828}.header-subtitle{font-size:1.1rem;opacity:.9}.app-header h1{font-size:2.5rem;margin-bottom:10px;font-weight:700}.app-main{flex:1;padding:20px 0}.app-footer{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;text-align:center;padding:20px;margin-top:auto;box-shadow:0 -2px 10px #0000001a}.app-footer p{margin:0;opacity:.9;display:flex;justify-content:center;align-items:center;gap:8px}.app-footer .version{font-weight:500;opacity:1}.user-menu{display:flex;align-items:center;gap:15px}.username{font-size:14px;opacity:.9}.clickable-username{cursor:pointer;text-decoration:underline;transition:opacity .3s}.clickable-username:hover{opacity:1}.logout-btn{background:#fff3;color:#fff;border:1px solid rgba(255,255,255,.3);border-radius:4px;padding:8px 16px;font-size:14px;cursor:pointer;transition:background .3s}.logout-btn:hover{background:#ffffff4d}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000}.modal-content{background:#fff;padding:30px;border-radius:8px;max-width:500px;width:90%;max-height:90vh;overflow-y:auto;box-shadow:0 4px 20px #0000004d}.modal-content h3{margin-top:0;margin-bottom:24px;color:#333;font-size:1.5rem;border-bottom:2px solid #e0e0e0;padding-bottom:12px}.account-settings-modal{max-width:600px;display:flex;flex-direction:column;max-height:90vh;overflow:hidden}.account-settings-modal .modal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;padding-bottom:12px;border-bottom:none}.account-settings-modal .modal-header h3{margin:0;font-size:1.5rem;font-weight:600;color:#333}@media (min-width: 769px){.account-settings-modal .modal-close{background:none;border:none;font-size:28px;color:#666;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .2s ease;line-height:1}}.account-settings-modal .modal-close:hover{background:#f0f0f0;color:#333}.account-settings-modal .modal-close:active{transform:scale(.95)}@media (max-width: 768px){.account-settings-modal{max-width:95%;display:flex;flex-direction:column;max-height:90vh;overflow:hidden;padding:0!important;border-radius:12px!important}.account-settings-modal{position:relative}.account-settings-modal-header-title{background:linear-gradient(135deg,#667eea,#764ba2)!important;border-radius:12px 12px 0 0;padding:20px 70px 20px 24px;margin:0;border:none!important;border-bottom:none!important;flex-shrink:0;color:#fff!important;font-size:1.3rem!important;font-weight:600;text-shadow:0 1px 2px rgba(0,0,0,.1);position:relative!important;min-height:60px;display:flex;align-items:center}.account-settings-modal-header-title+.account-settings-modal-close,.account-settings-modal .modal-close.account-settings-modal-close,.account-settings-modal-close{position:absolute!important;top:30px!important;right:24px!important;transform:translateY(-50%)!important;background:#fff3!important;color:#fff!important;border-radius:50%!important;width:36px!important;height:36px!important;font-size:28px!important;z-index:1000!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important;cursor:pointer!important;line-height:36px!important;margin:0!important;visibility:visible!important;opacity:1!important;text-align:center!important;vertical-align:middle!important}.account-settings-modal-close:before,.account-settings-modal-close *{line-height:inherit!important;margin:0!important;padding:0!important;vertical-align:middle!important}.account-settings-modal-close:hover{background:#ffffff4d!important;color:#fff!important;transform:rotate(90deg)}.account-settings-modal .modal-sections{flex:1;overflow-y:auto;min-height:0;padding:20px;padding-right:20px!important;gap:12px}.account-settings-modal .modal-section-content button.btn-primary{display:flex!important;align-items:center!important;justify-content:center!important;line-height:normal!important;vertical-align:middle!important;background:#7ba3d6!important}.account-settings-modal .modal-section-content button.btn-primary:hover{background:#6a93c5!important}.account-settings-modal .modal-section:has(button.btn-primary) .modal-section-title{margin-bottom:20px!important}.modal-separator{height:1px;background:#e0e0e0;margin:12px 0 16px;width:100%}.btn-logout-mobile{width:100%;padding:12px 24px;background:#e57373;color:#fff;border:none;border-radius:12px;font-size:16px;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 2px 8px #e5737333;min-height:48px}.btn-logout-mobile:hover{background:#d57373;box-shadow:0 4px 12px #e573734d;transform:translateY(-1px)}.btn-logout-mobile:active{transform:translateY(0);box-shadow:0 2px 6px #e5737333}}@media (min-width: 769px){.account-settings-modal .modal-sections{display:flex;flex-direction:column;gap:24px;flex:1;overflow-y:auto;min-height:0;padding-right:4px}}.modal-sections{display:flex;flex-direction:column;gap:24px}.modal-section{display:flex;flex-direction:column}.modal-section-title{font-size:1.1rem;font-weight:600;color:#333;margin:0 0 12px;padding-bottom:8px;border-bottom:1px solid #e0e0e0}.modal-section-content{padding-left:8px}.modal-section-content .info-row{display:flex;flex-direction:column;gap:8px;margin-bottom:16px}.modal-section-content .info-row:last-child{margin-bottom:0}.modal-section-content .info-label{font-size:.9rem;font-weight:500;color:#666;text-transform:uppercase;letter-spacing:.5px}.modal-section-content .info-value{font-size:1rem;color:#333;padding:8px 12px;background:#f5f5f5;border-radius:4px;border:1px solid #e0e0e0}.modal-section-content .readonly-badge{display:inline-block;margin-left:8px;padding:2px 8px;background:#e3f2fd;color:#1976d2;border-radius:12px;font-size:.7rem;font-weight:500;cursor:help}.modal-section-content .readonly-note{margin-top:12px;padding:10px;background:#fff3e0;border-left:3px solid #ff9800;border-radius:4px;font-size:.8rem;color:#666;line-height:1.4}.modal-section-content .btn-link{background:none;border:none;color:#1976d2;cursor:pointer;font-size:14px;font-weight:500;padding:4px 8px;border-radius:4px;transition:all .2s ease;text-decoration:none}.modal-section-content .btn-link:hover{background:#e3f2fd;color:#1565c0}.modal-section-content .status-message{padding:12px;border-radius:6px;font-size:.95rem}.modal-section-content .success-message{background:#e8f5e9;color:#2e7d32;border:1px solid #c8e6c9}.modal-content .form-group{margin-bottom:20px}.modal-content .form-group label{display:block;margin-bottom:8px;color:#333;font-weight:500}.modal-content .form-group input,.modal-content .form-group select{width:100%;padding:10px;border:2px solid #e0e0e0;border-radius:4px;font-size:14px;box-sizing:border-box}.modal-content .form-group input:focus,.modal-content .form-group select:focus{outline:none;border-color:#1976d2}.modal-content .form-group small{display:block;margin-top:5px;font-size:12px;color:#666}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.modal-actions .btn-primary{background:#1976d2;color:#fff;border:none;padding:10px 20px;border-radius:4px;cursor:pointer;font-size:14px;font-weight:500;transition:background .3s}.modal-actions .btn-primary:hover{background:#1565c0}.modal-actions .btn-secondary{background:#e0e0e0;color:#333;border:none;padding:10px 20px;border-radius:4px;cursor:pointer;font-size:14px;font-weight:500;transition:background .3s}.modal-actions .btn-secondary:hover{background:#d0d0d0}@media (max-width: 768px){.app-header{padding:15px}.header-content{flex-direction:row;align-items:center;justify-content:space-between;gap:10px}.header-title-section{flex:1}.header-title-row{flex-direction:column;align-items:flex-start;gap:0}.tier-pill-mobile-container{margin-top:6px}.header-subtitle{display:none}.app-header h1{font-size:1.5rem;margin-bottom:0}.user-menu{flex-shrink:0;gap:8px}.username{font-size:15px;padding:8px 0;min-height:44px;display:flex;align-items:center}.logout-btn{padding:10px 18px;font-size:15px;min-height:44px;flex-shrink:0}.app-main{padding:0;display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}.app-footer{padding:12px;font-size:11px;flex-shrink:0}.app-footer p{font-size:11px}.modal-content{padding:20px;width:95%;max-height:85vh;margin:10px}.modal-content h3{font-size:1.25rem;margin-bottom:15px}.modal-sections{gap:20px}.modal-section-title{font-size:1rem}.modal-content .form-group{margin-bottom:15px}.modal-content .form-group input,.modal-content .form-group select{padding:12px;font-size:16px;min-height:44px}.modal-actions{flex-direction:column-reverse;gap:10px;margin-top:15px}.modal-actions .btn-primary,.modal-actions .btn-secondary{width:100%;padding:12px 20px;font-size:16px;min-height:44px}}.auth-container{display:flex;justify-content:center;align-items:center;min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2);padding:20px;position:relative;overflow:hidden}.auth-container:before{content:"";position:absolute;top:-50%;left:-50%;width:200%;height:200%;background:radial-gradient(circle,rgba(255,255,255,.1) 1px,transparent 1px);background-size:50px 50px;animation:moveBackground 20s linear infinite}@keyframes moveBackground{0%{transform:translate(0)}to{transform:translate(50px,50px)}}.auth-box{background:#fff;border-radius:16px;padding:48px 40px;box-shadow:0 20px 60px #0000004d,0 0 0 1px #ffffff1a;width:100%;max-width:420px;position:relative;z-index:1;animation:slideIn .5s ease-out;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-sizing:border-box}.auth-box form{width:100%;display:flex;flex-direction:column;box-sizing:border-box}@keyframes slideIn{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.auth-box h2{margin-bottom:32px;text-align:center;color:#1a1a1a;font-size:28px;font-weight:700;letter-spacing:-.5px;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.form-group{margin-bottom:20px;display:flex;flex-direction:column;width:100%}.form-group label{display:block;margin-bottom:0;margin-left:0;padding-left:0;color:#1a1a1a;font-weight:600;text-align:left;order:-1;font-size:14px;letter-spacing:.3px;align-self:flex-start;line-height:1.2}.auth-box .form-group label,.auth-container .form-group label{width:10ch;min-width:10ch;max-width:10ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.change-password-box .form-group label{width:17ch!important;min-width:17ch!important;max-width:17ch!important;overflow:visible!important;text-overflow:clip!important;white-space:normal!important}.register-modal-content .form-group label{width:18ch!important;min-width:18ch!important;max-width:18ch!important;overflow:visible!important;text-overflow:clip!important;white-space:normal!important}.change-password-box .form-group input[type=password]{width:100%!important;box-sizing:border-box!important;min-width:0!important;max-width:100%!important}.form-group input{width:100%;min-height:48px;max-height:48px;height:48px;padding:12px 16px;border:2px solid #e0e0e0;border-radius:8px;font-size:15px;line-height:24px;transition:all .3s ease;background-color:#fafafa;box-sizing:border-box;margin:0;vertical-align:middle;min-width:0;max-width:100%}.form-group input[type=text],.form-group input[type=password]{height:48px;min-height:48px;max-height:48px}.form-group input:hover{border-color:#b0b0b0;background-color:#fff}.form-group input:focus{outline:none;border-color:#667eea;background-color:#fff;box-shadow:0 0 0 4px #667eea1a;transform:translateY(-1px)}.error-message{background-color:#ffebee;color:#c62828;padding:14px 16px;border-radius:8px;margin-bottom:20px;font-size:14px;border-left:4px solid #c62828;animation:shake .5s ease-in-out}@keyframes shake{0%,to{transform:translate(0)}25%{transform:translate(-10px)}75%{transform:translate(10px)}}.auth-button{width:100%;padding:14px;margin-top:20px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 15px #667eea66;position:relative;overflow:hidden;letter-spacing:.5px;box-sizing:border-box}.auth-button: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}.auth-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 20px #667eea80}.auth-button:hover:not(:disabled):before{left:100%}.auth-button:active:not(:disabled){transform:translateY(0);box-shadow:0 2px 10px #667eea66}.auth-button:disabled{opacity:.6;cursor:not-allowed;transform:none;box-shadow:0 2px 5px #0000001a}.success-message{background-color:#e8f5e9;color:#2e7d32;padding:12px;border-radius:4px;margin-bottom:20px;font-size:14px;text-align:center}.form-group small{display:block;margin-top:5px;font-size:12px;color:#666}.auth-footer{margin-top:20px;text-align:center;font-size:14px;color:#666}.link-button{background:none;border:none;color:#1976d2;cursor:pointer;text-decoration:underline;font-size:14px;padding:0}.link-button:hover{color:#1565c0}.microsoft-button{background:#fff;color:#1a1a1a;border:1px solid #8c8c8c;margin-top:10px;display:flex;align-items:center;justify-content:center;gap:8px;box-shadow:0 2px 4px #0000001a;width:100%;max-width:300px;margin-left:auto;margin-right:auto;padding:8px 14px;font-size:14px;font-weight:500;border-radius:8px;cursor:pointer;transition:all .3s ease;box-sizing:border-box}.microsoft-button:hover:not(:disabled){background:#f5f5f5;border-color:#666;box-shadow:0 2px 6px #00000026}.microsoft-button:active:not(:disabled){background:#e8e8e8;box-shadow:0 1px 3px #0000001a}.microsoft-button:disabled{background:#f5f5f5;color:#8c8c8c;border-color:#d0d0d0}.microsoft-logo{flex-shrink:0}.auth-divider{display:flex;align-items:center;text-align:center;margin:20px 0}.auth-divider:before,.auth-divider:after{content:"";flex:1;border-bottom:1px solid #e0e0e0}.auth-divider span{padding:0 10px;color:#666;font-size:14px;font-weight:500}@media (max-width: 768px){.auth-box .form-group input[type=text],.auth-box .form-group input[type=email],.auth-box .form-group input[type=password],.auth-box .form-group input[type=number],.auth-box .form-group input[type=tel],.auth-box .form-group input,.register-modal-content .form-group input[type=text],.register-modal-content .form-group input[type=email],.register-modal-content .form-group input[type=password],.register-modal-content .form-group input[type=number],.register-modal-content .form-group input[type=tel],.register-modal-content .form-group input{font-size:16px!important;-webkit-text-size-adjust:100%;text-size-adjust:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none}.register-modal-content{max-width:95%;padding:20px}.register-modal-content .modal-actions{flex-direction:column-reverse;gap:10px}.register-modal-content .modal-actions .btn-primary,.register-modal-content .modal-actions .btn-secondary{width:100%;padding:12px 20px;font-size:16px;min-height:44px}}.confirm-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:10001;animation:fadeIn .2s ease-out}.confirm-modal-content{background:#fff;border-radius:8px;box-shadow:0 4px 20px #0000004d;max-width:500px;width:90%;max-height:90vh;overflow:auto;animation:slideUp .3s ease-out}.confirm-modal-header{padding:20px;border-bottom:1px solid #e0e0e0;border-radius:8px 8px 0 0}.confirm-modal-header h3{margin:0;font-size:18px;font-weight:600}.confirm-modal-warning{background:#fff3e0;border-bottom:2px solid #ff9800}.confirm-modal-danger{background:#ffebee;border-bottom:2px solid #f44336}.confirm-modal-DELETE{background:#ffebee;border-bottom:3px solid #d32f2f}.confirm-modal-info{background:#e3f2fd;border-bottom:2px solid #2196f3}.confirm-modal-body{padding:20px;color:#333;line-height:1.6}.confirm-modal-actions{padding:15px 20px;border-top:1px solid #e0e0e0;display:flex;justify-content:flex-end;gap:10px}.confirm-modal-actions .btn-secondary{background:#f5f5f5;color:#333;border:1px solid #ccc;padding:10px 20px;border-radius:4px;font-size:14px;font-weight:500;cursor:pointer;transition:all .3s}.confirm-modal-actions .btn-secondary:hover{background:#e0e0e0}.confirm-modal-actions .btn-primary{background:#1976d2;color:#fff;border:none;padding:10px 20px;border-radius:4px;font-size:14px;font-weight:500;cursor:pointer;transition:all .3s}.confirm-modal-actions .btn-primary:hover{background:#1565c0}.confirm-modal-actions .btn-danger{background:#f44336;color:#fff;border:none;padding:10px 20px;border-radius:4px;font-size:14px;font-weight:500;cursor:pointer;transition:all .3s}.confirm-modal-actions .btn-danger:hover{background:#d32f2f}.confirm-btn-warning{background:#ff9800}.confirm-btn-warning:hover{background:#f57c00}.confirm-btn-danger{background:#f44336}.confirm-btn-danger:hover,.confirm-btn-DELETE{background:#d32f2f}.confirm-btn-DELETE:hover{background:#b71c1c}.confirm-btn-info{background:#2196f3}.confirm-btn-info:hover{background:#1976d2}.welcome-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0009;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;justify-content:center;align-items:center;z-index:2000;animation:fadeIn .2s ease-out}.welcome-modal-content{background:#fff;border-radius:8px;max-width:550px;width:90%;max-height:85vh;overflow-y:auto;box-shadow:0 8px 32px #0003;display:flex;flex-direction:column;animation:slideUp .3s ease-out}.welcome-modal-header{padding:16px 20px;border-bottom:1px solid rgba(255,255,255,.2);background:linear-gradient(135deg,#667eea,#764ba2);border-radius:8px 8px 0 0;box-shadow:0 2px 10px #0000001a}.welcome-modal-header h2{margin:0;color:#fff;font-size:20px;font-weight:600;text-shadow:0 1px 2px rgba(0,0,0,.1)}.welcome-modal-body{padding:20px;flex:1;overflow-y:auto}.welcome-intro{font-size:15px;color:#444;margin-bottom:20px;font-weight:500;text-align:center;line-height:1.6;letter-spacing:.2px}.welcome-steps{display:flex;flex-direction:column;gap:12px;margin-bottom:16px}.welcome-step{display:flex;gap:12px;align-items:flex-start;padding:12px;background:#f8f9fa;border-radius:6px;border-left:3px solid #667eea;transition:all .2s ease}.welcome-step:hover{background:#f5f3ff;border-left-color:#764ba2;transform:translate(2px)}.step-number{flex-shrink:0;width:28px;height:28px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;box-shadow:0 2px 4px #667eea4d}.step-content{flex:1}.step-content h3{margin:0 0 6px;color:#667eea;font-size:15px;font-weight:600;letter-spacing:.1px}.step-content p{margin:0;color:#555;font-size:13px;line-height:1.6;letter-spacing:.1px}.welcome-footer{text-align:center;color:#666;font-size:12px;font-style:italic;margin-top:16px;padding-top:16px;border-top:1px solid #e0e0e0;line-height:1.6;letter-spacing:.1px}.welcome-footer-highlight{color:#667eea;font-weight:500;font-style:normal}.welcome-modal-actions{padding:16px 20px;border-top:1px solid #e0e0e0;display:flex;justify-content:space-between;align-items:center;background:#fafafa;border-radius:0 0 8px 8px}.welcome-checkbox-label{display:flex;align-items:center;gap:6px;cursor:pointer;-webkit-user-select:none;user-select:none;color:#666;font-size:13px}.welcome-checkbox-label input[type=checkbox]{width:16px;height:16px;cursor:pointer;accent-color:#1976d2}.welcome-checkbox-label span{cursor:pointer}.welcome-modal-actions .btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:6px;padding:12px 28px;font-size:15px;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 12px #667eea4d;letter-spacing:.3px;text-transform:uppercase}.welcome-modal-actions .btn-primary:hover{background:linear-gradient(135deg,#764ba2,#667eea);box-shadow:0 6px 16px #667eea66;transform:translateY(-2px)}.welcome-modal-actions .btn-primary:active{transform:translateY(0);box-shadow:0 2px 8px #667eea4d}.welcome-modal-actions .btn-primary:focus{outline:2px solid rgba(102,126,234,.5);outline-offset:2px}@media (max-width: 768px){.welcome-modal-content{width:95%;max-height:90vh}.welcome-modal-header{padding:14px 16px}.welcome-modal-header h2{font-size:18px}.welcome-modal-body{padding:16px}.welcome-intro{font-size:14px;margin-bottom:16px}.welcome-steps{gap:10px;margin-bottom:12px}.welcome-step{padding:10px;gap:10px}.step-number{width:24px;height:24px;font-size:12px}.step-content h3{font-size:14px}.step-content p{font-size:12px}.welcome-footer{font-size:11px;margin-top:12px;padding-top:12px}.welcome-modal-actions{padding:12px 16px;flex-direction:column;gap:12px;align-items:stretch}.welcome-modal-actions .btn-primary{width:100%}}.subscription-confirmation-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0009;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;justify-content:center;align-items:center;z-index:10002;animation:fadeIn .2s ease-out;padding:20px}.subscription-confirmation-modal-content{background:#fff;border-radius:12px;max-width:520px;width:100%;box-shadow:0 8px 32px #0000004d;display:flex;flex-direction:column;animation:slideUp .3s ease-out;overflow:hidden}.subscription-confirmation-modal-header{padding:20px 24px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:12px 12px 0 0;display:flex;justify-content:space-between;align-items:center;position:relative}.subscription-confirmation-modal-header h2{margin:0;color:#fff;font-size:22px;font-weight:600;text-shadow:0 1px 2px rgba(0,0,0,.1)}.subscription-confirmation-modal-close{background:#fff3;border:none;color:#fff;font-size:28px;width:36px;height:36px;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease;padding:0;line-height:1;font-weight:300}.subscription-confirmation-modal-close:hover{background:#ffffff4d;transform:rotate(90deg)}.subscription-confirmation-modal-body{padding:32px 28px;flex:1;display:flex;flex-direction:column}.confirmation-message{color:#555;font-size:16px;margin-bottom:24px;line-height:1.6;text-align:center;font-weight:500}.proration-details{margin-top:8px}.proration-info{display:flex;flex-direction:column;gap:16px;padding:24px;border-radius:12px;background:linear-gradient(135deg,#f8f9fa,#fff);border:2px solid #e0e0e0;box-shadow:0 2px 8px #0000000d;transition:all .3s ease}.proration-info:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000001a}.proration-info.charge{background:linear-gradient(135deg,#fff3e0,#ffe0b2);border:2px solid #ffb74d}.proration-info.refund{background:linear-gradient(135deg,#e8f5e9,#c8e6c9);border:2px solid #66bb6a}.proration-info.no-change{background:linear-gradient(135deg,#f5f5f5,#fff);border:2px solid #e0e0e0}.proration-info.scheduled{background:linear-gradient(135deg,#e3f2fd,#bbdefb);border:2px solid #2196f3}.proration-info.scheduled .proration-amount{color:#1976d2}.proration-info.scheduled .proration-explanation{border-top-color:#2196f333}.effective-date{margin-top:12px;padding-top:12px;border-top:1px solid rgba(33,150,243,.2);color:#1976d2;font-weight:600;font-size:15px;text-align:center}.proration-icon-wrapper{display:flex;justify-content:center;margin-bottom:8px}.proration-icon{font-size:48px;line-height:1;filter:drop-shadow(0 2px 4px rgba(0,0,0,.1))}.proration-info.charge .proration-icon{filter:drop-shadow(0 2px 4px rgba(245,124,0,.3))}.proration-info.refund .proration-icon{filter:drop-shadow(0 2px 4px rgba(46,125,50,.3))}.proration-text{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center}.proration-text strong{color:#333;font-weight:600;font-size:16px;letter-spacing:.3px}.proration-amount{font-size:36px;font-weight:700;color:#667eea;line-height:1.2;margin-top:4px}.proration-info.charge .proration-amount{color:#f57c00}.proration-info.refund .proration-amount{color:#2e7d32}.proration-explanation{color:#666;font-size:14px;margin:0;line-height:1.6;text-align:center;padding-top:8px;border-top:1px solid rgba(0,0,0,.1)}.proration-info.charge .proration-explanation{border-top-color:#f57c0033}.proration-info.refund .proration-explanation{border-top-color:#2e7d3233}.subscription-confirmation-modal-footer{padding:20px 24px;border-top:1px solid #e0e0e0;display:flex;justify-content:flex-end;gap:12px;background:#fafafa}.btn-secondary{background:#fff;color:#555;border:2px solid #e0e0e0;padding:12px 24px;border-radius:8px;font-size:15px;font-weight:500;cursor:pointer;transition:all .3s ease;min-width:100px}.btn-secondary:hover{background:#f5f5f5;border-color:#ccc;transform:translateY(-1px);box-shadow:0 2px 8px #0000001a}.btn-secondary:active{transform:translateY(0)}.btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:12px 24px;border-radius:8px;font-size:15px;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 12px #667eea4d;min-width:140px}.btn-primary:hover{background:linear-gradient(135deg,#764ba2,#667eea);box-shadow:0 6px 16px #667eea66;transform:translateY(-2px)}.btn-primary:active{transform:translateY(0);box-shadow:0 2px 8px #667eea4d}@media (max-width: 768px){.subscription-confirmation-modal-overlay{padding:10px}.subscription-confirmation-modal-content{max-width:100%;max-height:90vh}.subscription-confirmation-modal-header{padding:16px 20px}.subscription-confirmation-modal-header h2{font-size:20px}.subscription-confirmation-modal-body{padding:24px 20px}.proration-info{padding:20px}.proration-amount{font-size:32px}.proration-icon{font-size:40px}.subscription-confirmation-modal-footer{padding:16px 20px;flex-direction:column-reverse}.subscription-confirmation-modal-footer button{width:100%}}.subscription-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0009;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;justify-content:center;align-items:center;z-index:10001;animation:fadeIn .2s ease-out;padding:20px}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.subscription-modal-content{background:#fff;border-radius:12px;max-width:1100px;width:100%;max-height:90vh;overflow-y:auto;box-shadow:0 8px 32px #0000004d;display:flex;flex-direction:column;animation:slideUp .3s ease-out}@keyframes slideUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.subscription-modal-header{padding:16px 24px;border-bottom:1px solid #e0e0e0;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:12px 12px 0 0;display:flex;justify-content:space-between;align-items:center;position:relative}.subscription-modal-header h2{margin:0!important;color:#fff!important;font-size:20px;font-weight:600;text-shadow:0 1px 2px rgba(0,0,0,.1)}.subscription-modal-close{background:#fff3;border:none;color:#fff;font-size:32px;width:36px;height:36px;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease;padding:0;line-height:1;font-weight:300}.subscription-modal-close:hover{background:#ffffff4d;transform:rotate(90deg)}.subscription-modal-body{padding:32px 28px;flex:1;overflow-y:auto;display:flex;flex-direction:column}.billing-interval-toggle{display:flex;align-items:center;justify-content:center;gap:16px;margin-bottom:32px;padding:8px}.toggle-label{font-size:16px;font-weight:500;color:#666;transition:color .3s ease;cursor:pointer;-webkit-user-select:none;user-select:none}.toggle-label.active{color:#667eea;font-weight:600}.toggle-switch{position:relative;display:inline-block;width:56px;height:32px;cursor:pointer}.toggle-switch input{opacity:0;width:0;height:0}.toggle-slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#ccc;transition:.3s;border-radius:32px}.toggle-slider:before{position:absolute;content:"";height:24px;width:24px;left:4px;bottom:4px;background-color:#fff;transition:.3s;border-radius:50%;box-shadow:0 2px 4px #0003}.toggle-switch input:checked+.toggle-slider{background-color:#667eea}.toggle-switch input:checked+.toggle-slider:before{transform:translate(24px)}.toggle-switch:hover .toggle-slider{box-shadow:0 0 0 2px #667eea33}.subscription-modal-intro{text-align:center;color:#666;font-size:16px;margin-bottom:32px;line-height:1.6}.subscription-tiers{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px;margin-bottom:24px}.subscription-tier{background:#f8f9fa;border:2px solid #e0e0e0;border-radius:10px;padding:24px;position:relative;transition:all .3s ease;display:flex;flex-direction:column}.subscription-tier:hover{transform:translateY(-4px);box-shadow:0 8px 16px #0000001a;border-color:#667eea}.subscription-tier.tier-highlighted{border-color:#667eea;background:linear-gradient(135deg,#f5f3ff,#fff);box-shadow:0 4px 12px #667eea33}.tier-badge{position:absolute;top:-12px;right:20px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:4px 12px;border-radius:12px;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;box-shadow:0 2px 4px #667eea4d}.tier-header{margin-bottom:16px}.tier-current{border:2px solid #4caf50}.tier-current-label{position:absolute;top:-12px;left:20px;background:#4caf50;color:#fff;padding:4px 10px;border-radius:12px;font-size:12px;font-weight:600;box-shadow:0 2px 4px #4caf504d}.tier-header h3{margin:0 0 12px;color:#333;font-size:22px;font-weight:600}.tier-price{display:flex;align-items:baseline;gap:4px}.price-amount,.price-contact-us{font-size:32px;font-weight:700;color:#667eea}.price-period{font-size:14px;color:#666;font-weight:400}.tier-description{color:#666;font-size:14px;margin-bottom:20px;line-height:1.5;min-height:42px}.tier-features{list-style:none;padding:0;margin:0 0 24px;flex:1}.tier-features li{display:flex;align-items:flex-start;gap:12px;margin-bottom:12px;color:#444;font-size:14px;line-height:1.5}.tier-features li:last-child{margin-bottom:0}.feature-checkbox{flex-shrink:0;width:18px;height:18px;display:flex;align-items:center;justify-content:center;margin-top:2px;margin-right:4px}.feature-checkbox svg{width:18px;height:18px}.feature-checkbox circle{fill:#667eea}.feature-checkbox path{stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;fill:none;opacity:1}.tier-button{width:100%;padding:12px 24px;border:none;border-radius:6px;font-size:15px;font-weight:600;cursor:pointer;transition:all .3s ease;margin-top:auto}.tier-button-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;box-shadow:0 4px 12px #667eea4d}.tier-button-primary:hover{background:linear-gradient(135deg,#764ba2,#667eea);box-shadow:0 6px 16px #667eea66;transform:translateY(-2px)}.tier-button-secondary{background:#fff;color:#667eea;border:2px solid #667eea}.tier-button-secondary:hover{background:#667eea;color:#fff;transform:translateY(-2px);box-shadow:0 4px 8px #667eea4d}.tier-button:active{transform:translateY(0)}.subscription-modal-footer{padding:20px 28px;border-top:1px solid #e0e0e0;display:flex;justify-content:flex-end;background:#fafafa;border-radius:0 0 12px 12px}.subscription-modal-footer .btn-secondary{background:#f5f5f5;color:#333;border:1px solid #ccc;padding:10px 20px;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:all .3s}.subscription-modal-footer .btn-secondary:hover{background:#e0e0e0}@media (max-width: 768px){.subscription-modal-overlay{padding:10px}.subscription-modal-content{max-height:95vh}.subscription-modal-header{padding:14px 20px}.subscription-modal-header h2{font-size:18px}.subscription-modal-body{padding:24px 20px}.subscription-tiers{grid-template-columns:1fr;gap:20px}.subscription-tier{padding:20px}.tier-header h3{font-size:20px}.price-amount{font-size:28px}.subscription-modal-footer{padding:16px 20px}}@media (max-width: 480px){.subscription-modal-header{padding:12px 16px}.subscription-modal-header h2{font-size:16px}.subscription-modal-body{padding:20px 16px}.subscription-tier{padding:16px}}.subscription-error-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:10000;padding:20px}.subscription-error-modal-content{background:#fff;border-radius:8px;max-width:500px;width:100%;max-height:90vh;overflow-y:auto;box-shadow:0 4px 20px #0000004d}.subscription-error-modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid #e0e0e0}.subscription-error-modal-header h2{margin:0;font-size:1.5rem;color:#d32f2f}.subscription-error-modal-close{background:none;border:none;font-size:28px;cursor:pointer;color:#666;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:background-color .2s}.subscription-error-modal-close:hover{background-color:#f5f5f5}.subscription-error-modal-body{padding:24px}.subscription-error-icon{font-size:48px;text-align:center;margin-bottom:16px}.subscription-error-message{font-size:1.1rem;color:#333;margin-bottom:20px;text-align:center;font-weight:500}.subscription-error-details{background:#f8f9fa;border-radius:6px;padding:16px;margin-top:20px}.subscription-error-details p{margin:0 0 8px;font-weight:600;color:#333}.subscription-error-details ul{margin:8px 0 16px;padding-left:24px;color:#555}.subscription-error-details li{margin-bottom:4px}.subscription-error-modal-footer{display:flex;justify-content:flex-end;gap:12px;padding:20px 24px;border-top:1px solid #e0e0e0}.btn-primary{background:#1976d2;color:#fff;border:none;padding:10px 20px;border-radius:4px;font-size:14px;font-weight:500;cursor:pointer;transition:background-color .3s}.btn-primary:hover:not(:disabled){background:#1565c0}.btn-primary:disabled{opacity:.6;cursor:not-allowed}.btn-secondary{background:#f5f5f5;color:#333;border:1px solid #ddd;padding:10px 20px;border-radius:4px;font-size:14px;font-weight:500;cursor:pointer;transition:background-color .3s}.btn-secondary:hover:not(:disabled){background:#e0e0e0}.btn-secondary:disabled{opacity:.6;cursor:not-allowed}.help-chat-widget{position:fixed;z-index:1400;display:flex;align-items:center;justify-content:center}.help-chat-widget-button{position:relative;width:54px;height:54px;border-radius:27px;border:none;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;box-shadow:0 10px 30px #764ba259;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:transform .2s ease,box-shadow .2s ease}.help-chat-widget-button:hover{transform:translateY(-1px);box-shadow:0 12px 34px #764ba273}.help-chat-widget-button:active{transform:translateY(0)}.help-chat-widget-icon{font-size:22px;font-weight:700}.help-chat-widget-badge{position:absolute;top:-6px;right:-6px;background:#e57373;color:#fff;border-radius:12px;padding:2px 6px;font-size:11px;min-width:20px;text-align:center;box-shadow:0 2px 6px #0003}.help-chat-panel{position:fixed;bottom:90px;right:24px;width:340px;max-height:520px;background:#fff;border-radius:12px;box-shadow:0 14px 40px #0000002e;display:flex;flex-direction:column;overflow:hidden;transition:opacity .2s ease,transform .2s ease,visibility .2s ease;z-index:1399}.help-chat-panel.help-chat-panel-closed{opacity:0;visibility:hidden;transform:translateY(10px);pointer-events:none}.help-chat-panel.help-chat-panel-open{opacity:1;visibility:visible;transform:translateY(0)}.help-chat-panel-header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.help-chat-panel-actions{display:flex;align-items:center;gap:8px}.help-chat-panel-new{border:1px solid rgba(255,255,255,.7);background:transparent;color:#fff;border-radius:6px;padding:6px;width:28px;height:28px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s ease,color .2s ease}.help-chat-panel-new:hover{background:#ffffff26}.help-chat-panel-new svg{width:18px;height:18px}.help-chat-panel-title-text{font-weight:700;font-size:16px}.help-chat-panel-close{border:none;background:transparent;color:#fff;font-size:22px;cursor:pointer;line-height:1}.help-chat-panel-body{flex:1;background:#f9fafb;padding:12px 12px 0;overflow:hidden;display:flex}.help-chat-panel-messages{width:100%;overflow-y:auto;padding-right:6px;display:flex;flex-direction:column;gap:10px}.help-chat-panel-loading,.help-chat-panel-empty,.help-chat-panel-error{padding:10px;color:#555;text-align:center;font-size:14px}.help-chat-panel-error{color:#d32f2f}.help-chat-message{padding:10px;border-radius:10px;box-shadow:0 2px 10px #0000000d;background:#fff}.help-chat-message-user{background:#e8ecff}.help-chat-message-role{font-weight:700;font-size:12px;margin-bottom:4px;color:#555}.help-chat-message-content{white-space:pre-wrap;color:#222;line-height:1.4}.help-chat-panel-footer{display:flex;flex-direction:column;padding:10px 12px 12px;border-top:1px solid #eef0f4;gap:8px;background:#fff}.help-chat-panel-input{width:100%;min-height:70px;border:1px solid #d8dce6;border-radius:8px;padding:10px;resize:none;font-size:14px;outline:none;transition:border-color .2s ease,box-shadow .2s ease}.help-chat-panel-input:focus{border-color:#667eea;box-shadow:0 0 0 2px #667eea26}.help-chat-panel-send{align-self:flex-end;border:none;border-radius:8px;background:#667eea;color:#fff;padding:10px 16px;font-weight:700;cursor:pointer;transition:background .2s ease,transform .1s ease}.help-chat-panel-send:disabled{background:#c9cde5;cursor:not-allowed;transform:none}.help-chat-panel-send:not(:disabled):hover{background:#5566d1}@media (max-width: 768px){.help-chat-widget,.help-chat-panel{display:none}}.app-container{max-width:1200px;margin:0 auto;padding:20px;display:flex;flex-direction:column;height:100%;min-height:0}.tabs{display:flex;gap:10px;margin-bottom:30px;border-bottom:2px solid #e0e0e0}.tab{padding:12px 24px;background:none;border:none;border-bottom:3px solid transparent;cursor:pointer;font-size:16px;font-weight:500;color:#666;transition:all .3s}.tab:hover{color:#333;background-color:#f5f5f5}.tab.active{color:#1976d2;border-bottom-color:#1976d2;font-weight:600}.tab-connection-indicator{display:inline-block;width:8px;height:8px;background-color:#4caf50;border-radius:50%;margin-left:8px;vertical-align:middle;animation:pulse 2s infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.7}}.tab-content{min-height:400px;display:flex;flex-direction:column;flex:1;overflow:hidden}@media (max-width: 768px){.app-container{padding:10px;max-width:100%}.app-container.mobile-container{padding:0;height:100%;display:flex;flex-direction:column;overflow:hidden}.tabs{display:none}.tab-content{min-height:0}}*{margin:0;padding:0;box-sizing:border-box}html{scrollbar-gutter:stable}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#f5f5f5;scrollbar-gutter:stable}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}#root{min-height:100vh}
