:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media(prefers-color-scheme:light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}.register-page{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#667eea,#764ba2);padding:2rem 1rem}.register-container{background:#fff;border-radius:8px;box-shadow:0 10px 40px #0003;width:100%;max-width:500px;overflow:hidden}.register-header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:2rem;text-align:center}.register-header h1{margin:0;font-size:2rem;font-weight:700}.register-header p{margin:.5rem 0 0;opacity:.9}.register-form{padding:2rem;max-height:calc(100vh - 300px);overflow-y:auto}.register-form h2{margin:0 0 1.5rem;color:#2c3e50;font-size:1.5rem}.form-group label{display:block;margin-bottom:.5rem;color:#2c3e50;font-weight:500}.form-group input,.form-group select{width:100%;padding:.75rem;border:1px solid #ddd;border-radius:4px;font-size:1rem;transition:border-color .2s ease;box-sizing:border-box}.form-group input:focus,.form-group select:focus{outline:none;border-color:#667eea}.form-group input:disabled,.form-group select:disabled{background-color:#f5f5f5;cursor:not-allowed}.form-hint{display:block;margin-top:.25rem;color:#6c757d;font-size:.875rem}.error-message{background-color:#fee;color:#c33;padding:.75rem;border-radius:4px;margin-bottom:1rem;border-left:4px solid #c33}.register-btn{width:100%;padding:.75rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:4px;font-size:1rem;font-weight:600;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease}.register-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px #667eea66}.register-btn:disabled{opacity:.6;cursor:not-allowed}.register-footer{padding:1.5rem 2rem;background-color:#f8f9fa;text-align:center;color:#6c757d;font-size:.875rem}.register-footer p{margin:0}.login-link{color:#667eea;text-decoration:none;font-weight:600;transition:color .2s ease}.login-link:hover{color:#764ba2;text-decoration:underline}@media(max-width:600px){.register-form{max-height:calc(100vh - 250px)}.register-header h1{font-size:1.5rem}.register-form h2{font-size:1.25rem}}.strategy-result{padding:12px;border-radius:6px;border:1px solid #e0e0e0}.strategy-result--success{background:#f1f8f4;border-color:#4caf50}.strategy-result--error{background:#fff3e0;border-color:#ff9800}.strategy-result__message{display:flex;align-items:center;gap:8px;margin-bottom:8px;font-size:14px;font-weight:500}.strategy-result__icon{font-size:16px;flex-shrink:0}.strategy-result__text{flex:1;color:#212121}.strategy-result__details{display:flex;flex-direction:column;gap:6px;margin-top:8px;padding-top:8px;border-top:1px solid rgba(0,0,0,.1)}.strategy-result__detail{display:flex;align-items:center;gap:8px;font-size:13px}.strategy-result__detail-label{font-weight:500;color:#616161;min-width:100px}.strategy-result__detail-value{color:#212121}.strategy-result__detail-value--warning{color:#f44336;font-weight:600}.strategy-result__bot-detection{margin-top:8px;padding:8px;background:#f443360d;border-radius:4px;border:1px solid rgba(244,67,54,.2)}.strategy-result__detections{margin-top:8px;display:flex;flex-direction:column;gap:4px}.strategy-result__detection-item{display:flex;align-items:center;gap:8px;padding:4px 8px;background:#fff;border-radius:4px;font-size:12px}.strategy-result__detection-type{font-weight:500;color:#616161}.strategy-result__detection-value{color:#424242;margin-left:auto}.strategy-card{background:#fff;border:1px solid #e0e0e0;border-radius:8px;padding:16px;margin-bottom:12px;transition:all .2s ease}.strategy-card:hover{box-shadow:0 2px 8px #0000001a;transform:translateY(-1px)}.strategy-card--active{border-left:4px solid #4caf50}.strategy-card--error{border-left:4px solid #ff9800}.strategy-card--paused{border-left:4px solid #2196f3}.strategy-card--inactive{border-left:4px solid #9e9e9e;opacity:.7}.strategy-card__header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px}.strategy-card__title-section{display:flex;gap:12px;align-items:flex-start;flex:1}.strategy-card__status{font-size:24px;line-height:1}.strategy-card__title-content{display:flex;flex-direction:column;gap:4px}.strategy-card__name{margin:0;font-size:16px;font-weight:600;color:#212121}.strategy-card__type{font-size:13px;color:#757575}.strategy-toggle{position:relative;display:inline-block;width:48px;height:24px;flex-shrink:0}.strategy-toggle input{opacity:0;width:0;height:0}.strategy-toggle__slider{position:absolute;cursor:pointer;inset:0;background-color:#ccc;transition:.3s;border-radius:24px}.strategy-toggle__slider:before{position:absolute;content:"";height:18px;width:18px;left:3px;bottom:3px;background-color:#fff;transition:.3s;border-radius:50%}.strategy-toggle input:checked+.strategy-toggle__slider{background-color:#4caf50}.strategy-toggle input:checked+.strategy-toggle__slider:before{transform:translate(24px)}.strategy-toggle input:disabled+.strategy-toggle__slider{opacity:.5;cursor:not-allowed}.strategy-card__meta{display:flex;gap:16px;flex-wrap:wrap;margin-bottom:12px;padding:12px;background:#f5f5f5;border-radius:6px}.strategy-card__meta-item{display:flex;gap:6px;font-size:13px}.strategy-card__meta-item--error{color:#f44336}.strategy-card__meta-label{font-weight:500;color:#616161}.strategy-card__meta-value{color:#212121}.strategy-card__meta-value--active{color:#4caf50;font-weight:600}.strategy-card__meta-value--error{color:#ff9800;font-weight:600}.strategy-card__meta-value--paused{color:#2196f3;font-weight:600}.strategy-card__meta-value--inactive{color:#9e9e9e}.strategy-card__last-trigger{display:flex;gap:8px;font-size:12px;color:#757575;margin-bottom:8px}.strategy-card__last-trigger-label{font-weight:500}.strategy-card__last-trigger-time{color:#424242}.strategy-card__result{margin-top:12px}.strategy-card__id{margin-top:8px;font-size:11px;color:#9e9e9e;text-align:right}.strategies-list{display:flex;flex-direction:column;gap:16px}.strategies-list__header{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;padding-bottom:12px;border-bottom:2px solid #e0e0e0}.strategies-list__title-section{display:flex;align-items:center;gap:12px}.strategies-list__title{margin:0;font-size:20px;font-weight:600;color:#212121}.strategies-list__auto-refresh{display:flex;align-items:center;gap:6px;font-size:13px;color:#757575;padding:4px 8px;background:#f5f5f5;border-radius:4px}.strategies-list__last-update{font-weight:500;color:#424242}.strategies-list__filters{display:flex;gap:8px}.strategies-list__filter{padding:6px 16px;border:1px solid #e0e0e0;background:#fff;border-radius:20px;font-size:13px;font-weight:500;color:#616161;cursor:pointer;transition:all .2s ease}.strategies-list__filter:hover{background:#f5f5f5;border-color:#bdbdbd}.strategies-list__filter.active{background:#2196f3;color:#fff;border-color:#2196f3}.strategies-list__error{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:#fff3e0;border:1px solid #ff9800;border-radius:6px;color:#e65100;font-size:14px}.strategies-list__error button{background:none;border:none;cursor:pointer;font-size:18px;color:#e65100;padding:0;width:24px;height:24px}.strategies-list__loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px;gap:16px}.spinner{border:3px solid #f3f3f3;border-top:3px solid #2196f3;border-radius:50%;width:40px;height:40px;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.strategies-list__empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px;text-align:center;color:#757575}.strategies-list__empty-icon{font-size:64px;margin-bottom:16px;opacity:.5}.strategies-list__empty h4{margin:0 0 8px;font-size:18px;color:#424242}.strategies-list__empty p{margin:0;font-size:14px;color:#757575}.strategies-list__content{display:flex;flex-direction:column;gap:24px}.strategies-list__group{display:flex;flex-direction:column;gap:12px}.strategies-list__group-title{margin:0;font-size:16px;font-weight:600;color:#424242;display:flex;align-items:center;gap:8px;padding-bottom:8px;border-bottom:1px solid #e0e0e0}.strategies-list__group-count{font-size:14px;font-weight:500;color:#757575}.strategies-list__cards{display:flex;flex-direction:column;gap:12px}.strategies-list__footer{display:flex;justify-content:center;padding-top:16px;border-top:1px solid #e0e0e0}.strategies-list__refresh-btn{padding:10px 24px;border:1px solid #e0e0e0;background:#fff;border-radius:6px;font-size:14px;font-weight:500;color:#424242;cursor:pointer;transition:all .2s ease}.strategies-list__refresh-btn:hover:not(:disabled){background:#f5f5f5;border-color:#bdbdbd}.strategies-list__refresh-btn:disabled{opacity:.6;cursor:not-allowed}.page-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:2rem;padding-bottom:1.5rem;border-bottom:2px solid #e5e7eb}.page-header h1{margin:0 0 .5rem;font-size:2rem;font-weight:700;color:#111827}.page-header p{margin:0;color:#6b7280;font-size:1rem}.header-actions{display:flex;gap:1rem}.btn{padding:.75rem 1.5rem;border:none;border-radius:.5rem;font-size:1rem;font-weight:500;cursor:pointer;transition:all .2s ease;display:inline-flex;align-items:center;justify-content:center;gap:.5rem}.btn:disabled{opacity:.6;cursor:not-allowed}.btn-primary{background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff}.btn-primary:hover:not(:disabled){background:linear-gradient(135deg,#2563eb,#1d4ed8);transform:translateY(-1px);box-shadow:0 4px 12px #2563eb4d}.btn-secondary{background:#f3f4f6;color:#374151;border:1px solid #d1d5db}.btn-secondary:hover:not(:disabled){background:#e5e7eb;border-color:#9ca3af}.btn-sm{padding:.5rem .75rem;font-size:.875rem}.btn-sync{background:#10b981;color:#fff}.btn-sync:hover:not(:disabled){background:#059669}.btn-danger{background:#ef4444;color:#fff}.btn-danger:hover:not(:disabled){background:#dc2626}.btn-info{background:#3b82f6;color:#fff}.btn-info:hover:not(:disabled){background:#2563eb}.error-banner{background:#fee2e2;border:1px solid #fca5a5;color:#991b1b;padding:1rem 1.5rem;border-radius:.5rem;margin-bottom:1.5rem;display:flex;justify-content:space-between;align-items:center}.error-banner button{background:none;border:none;color:#991b1b;font-size:1.25rem;cursor:pointer;padding:0;width:24px;height:24px;display:flex;align-items:center;justify-content:center}.error-banner button:hover{opacity:.7}.empty-state{text-align:center;padding:4rem 2rem;background:#f9fafb;border-radius:1rem;border:2px dashed #d1d5db}.empty-icon{font-size:4rem;margin-bottom:1rem}.empty-state h3{margin:0 0 .5rem;font-size:1.5rem;color:#111827}.empty-state p{margin:0 0 2rem;color:#6b7280;font-size:1rem}.empty-actions{display:flex;gap:1rem;justify-content:center}.accounts-table{background:#fff;border-radius:1rem;overflow:hidden;box-shadow:0 1px 3px #0000001a}.accounts-table table{width:100%;border-collapse:collapse}.accounts-table thead{background:#f9fafb;border-bottom:2px solid #e5e7eb}.accounts-table th{padding:1rem 1.5rem;text-align:left;font-weight:600;color:#374151;font-size:.875rem;text-transform:uppercase;letter-spacing:.05em}.accounts-table td{padding:1.25rem 1.5rem;border-bottom:1px solid #f3f4f6;color:#111827}.accounts-table tbody tr:hover{background:#f9fafb}.accounts-table tbody tr:last-child td{border-bottom:none}.chart-row{background:transparent!important}.chart-row td{padding:0!important;border-bottom:1px solid #f3f4f6!important}.chart-row:hover{background:transparent!important}.badge{display:inline-block;padding:.25rem .75rem;border-radius:9999px;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em}.badge-oauth{background:#dbeafe;color:#1e40af}.badge-credentials{background:#fef3c7;color:#92400e}.toggle-switch{display:flex;align-items:center;gap:.75rem;cursor:pointer;-webkit-user-select:none;user-select:none}.toggle-switch input{position:absolute;opacity:0;width:0;height:0}.toggle-slider{position:relative;width:44px;height:24px;background:#d1d5db;border-radius:9999px;transition:background .2s ease}.toggle-slider:before{content:"";position:absolute;width:18px;height:18px;left:3px;top:3px;background:#fff;border-radius:50%;transition:transform .2s ease}.toggle-switch input:checked+.toggle-slider{background:#10b981}.toggle-switch input:checked+.toggle-slider:before{transform:translate(20px)}.toggle-label{font-size:.875rem;font-weight:500;color:#374151}.action-buttons{display:flex;gap:.5rem}.modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .2s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.modal-content{background:#fff;border-radius:1rem;width:90%;max-width:600px;max-height:90vh;overflow-y:auto;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;animation:slideUp .3s ease}@keyframes slideUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem 2rem;border-bottom:1px solid #e5e7eb}.modal-header h2{margin:0;font-size:1.5rem;font-weight:700;color:#111827}.modal-close{background:none;border:none;font-size:1.5rem;color:#6b7280;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:.375rem;transition:all .2s ease}.modal-close:hover{background:#f3f4f6;color:#111827}.modal-body{padding:2rem}.modal-footer{display:flex;justify-content:flex-end;gap:1rem;padding:1.5rem 2rem;border-top:1px solid #e5e7eb;background:#f9fafb}.info-box{background:#eff6ff;border:1px solid #bfdbfe;border-radius:.75rem;padding:1.5rem;margin-bottom:1.5rem}.info-box h4{margin:0 0 1rem;font-size:1rem;font-weight:600;color:#1e40af}.info-box ul{margin:0;padding-left:1.5rem;list-style:none}.info-box li{margin-bottom:.5rem;color:#1e40af;position:relative}.info-box li:last-child{margin-bottom:0}.security-note{background:#f0fdf4;border:1px solid #86efac;border-radius:.5rem;padding:1rem;margin-top:1rem;color:#166534;font-size:.875rem;line-height:1.5}.security-note strong{font-weight:600}.form-group{margin-bottom:1.5rem}.form-group:last-child{margin-bottom:0}.form-group label{display:block;margin-bottom:.5rem;font-weight:500;color:#374151;font-size:.875rem}.form-group input{width:100%;padding:.75rem 1rem;border:1px solid #d1d5db;border-radius:.5rem;font-size:1rem;transition:all .2s ease;box-sizing:border-box}.form-group input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.form-group input::placeholder{color:#9ca3af}.external-link{color:#3b82f6;text-decoration:none;font-weight:500}.external-link:hover{text-decoration:underline}.loading{text-align:center;padding:4rem 2rem;font-size:1.125rem;color:#6b7280}.modal-content--wide{max-width:900px;width:90%}.modal-body--strategies{padding:20px;max-height:70vh;overflow-y:auto}@media(max-width:1024px){.accounts-page{padding:1.5rem}.page-header{flex-direction:column;gap:1.5rem}.header-actions{width:100%}.header-actions .btn{flex:1}}@media(max-width:768px){.accounts-page{padding:1rem}.page-header h1{font-size:1.5rem}.accounts-table{overflow-x:auto}.accounts-table table{min-width:800px}.modal-content{width:95%}.modal-body{padding:1.5rem}.header-actions{flex-direction:column}.header-actions .btn{width:100%}.empty-actions{flex-direction:column}.empty-actions .btn{width:100%}}@media(max-width:480px){.btn{padding:.625rem 1rem;font-size:.875rem}.modal-header h2{font-size:1.25rem}}
