:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:dark;color:#ffffffde;background-color:#0a0f19;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{margin:0;padding:0;box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:linear-gradient(135deg,#0a0f19,#1a1f2e);overflow-x:hidden}#root{width:100%;min-height:100vh}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:#0f172a80;border-radius:5px}::-webkit-scrollbar-thumb{background:#3b82f680;border-radius:5px}::-webkit-scrollbar-thumb:hover{background:#3b82f6b3}::selection{background:#3b82f64d;color:#f1f5f9}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.text-primary{color:#3b82f6}.text-success{color:#10b981}.text-danger{color:#ef4444}.text-warning{color:#eab308}.text-muted{color:#94a3b8b3}.header{display:flex;justify-content:space-between;# For production,you can set: align-items: center;# VITE_API_BASE_URL=https://your-api-domain.com/api padding: 1.5rem 2rem;background:#0a0f19cc;border-bottom:1px solid rgba(59,130,246,.2);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.header-left{display:flex;align-items:center}.logo{display:flex;align-items:center;gap:1rem}.logo-icon{width:48px;height:48px;background:linear-gradient(135deg,#3b82f6,#8b5cf6);border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:24px}.logo-text h1{font-size:1.5rem;font-weight:700;letter-spacing:1px;margin:0;background:linear-gradient(135deg,#3b82f6,#8b5cf6);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.subtitle{font-size:.75rem;color:#94a3b8b3;margin:.25rem 0 0;font-family:Courier New,monospace}.header-right{display:flex;gap:1rem;align-items:center}.user-info{display:flex;align-items:center;gap:1rem;padding:.75rem 1rem;background:#ffffff0d;border-radius:8px;border:1px solid rgba(255,255,255,.1)}.user-name{color:#e2e8f0;font-size:.875rem;font-weight:500}.logout-btn{padding:.5rem 1rem;background:#ef44441a;color:#ef4444;border:1px solid rgba(239,68,68,.3);border-radius:6px;font-size:.75rem;font-weight:500;cursor:pointer;transition:all .2s ease}.logout-btn:hover{background:#ef444433;border-color:#ef444480}.status-btn{display:flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;border:none;border-radius:8px;font-weight:600;font-size:.875rem;cursor:default;transition:all .3s ease}.status-btn.halted{background:#ef44441a;color:#ef4444;border:1px solid rgba(239,68,68,.3)}.status-btn.live{background:#3b82f61a;color:#3b82f6;border:1px solid rgba(59,130,246,.3)}.status-indicator{width:8px;height:8px;border-radius:50%;animation:pulse 2s infinite}.status-btn.halted .status-indicator{background:#ef4444}.status-btn.live .status-indicator{background:#3b82f6}.action-btn{padding:.75rem 1.5rem;border:none;border-radius:8px;font-weight:600;font-size:.875rem;cursor:pointer;transition:all .3s ease}.action-btn.resume{background:linear-gradient(135deg,#10b981,#059669);color:#fff}.action-btn.halt{background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff}.action-btn:hover{transform:translateY(-2px);box-shadow:0 8px 20px #0000004d}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.portfolio-snapshot{background:#0f172a99;border-radius:12px;padding:1.5rem;border:1px solid rgba(51,65,85,.5)}.section-header{display:flex;align-items:center;gap:.5rem;margin-bottom:1.5rem}.section-header .icon{font-size:1.25rem}.section-header h2{font-size:.875rem;font-weight:600;letter-spacing:1px;color:#94a3b8e6;margin:0}.stats-grid{display:flex;flex-direction:column;gap:1rem}.stat-card{background:#1e293b80;border-radius:12px;padding:1.5rem;border:1px solid rgba(51,65,85,.5);transition:all .3s ease}.stat-card:hover{border-color:#3b82f680;transform:translateY(-2px)}.stat-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.stat-label{font-size:.75rem;font-weight:600;color:#94a3b8b3;letter-spacing:.5px}.info-icon,.chart-icon,.lightning-icon{font-size:1rem;opacity:.5}.stat-value{font-size:1.875rem;font-weight:700;color:#f1f5f9;margin-bottom:.5rem}.stat-change{font-size:.875rem;font-weight:600;display:flex;align-items:center;gap:.25rem}.stat-change.positive{color:#10b981}.stat-change.negative{color:#ef4444}.positions-card{background:#1e293b80;border-radius:12px;padding:1.5rem;border:1px solid rgba(51,65,85,.5);grid-column:span 1}.positions-header{display:flex;align-items:center;gap:.5rem;margin-bottom:1rem;font-size:.75rem;font-weight:600;color:#94a3b8b3;letter-spacing:.5px}.positions-list{display:flex;flex-direction:column;gap:1rem}.position-item{display:flex;justify-content:space-between;align-items:center;padding:.75rem;background:#0f172a80;border-radius:8px;border:1px solid rgba(51,65,85,.3)}.position-info{display:flex;flex-direction:column;gap:.25rem}.position-pair{font-size:.875rem;font-weight:600;color:#f1f5f9}.position-type{font-size:.75rem;font-weight:600;padding:.125rem .5rem;border-radius:4px;width:fit-content}.position-type.long{background:#10b9811a;color:#10b981}.position-type.short{background:#ef44441a;color:#ef4444}.position-stats{display:flex;flex-direction:column;align-items:flex-end;gap:.25rem}.position-price{font-size:.875rem;font-weight:600;color:#f1f5f9}.position-change{font-size:.75rem;font-weight:600}.agent-orchestration{background:#0f172a99;border-radius:12px;padding:1.5rem;border:1px solid rgba(51,65,85,.5)}.health-check{margin-left:auto;font-size:.75rem;color:#94a3b8b3;font-style:italic}.agents-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem;margin-top:1.5rem}.agent-category{display:flex;flex-direction:column;gap:1rem}.category-title{font-size:.75rem;font-weight:600;color:#94a3b8b3;letter-spacing:.5px;margin:0}.category-agents{display:flex;flex-direction:column;gap:.75rem}.agent-card{background:#1e293b99;border-radius:8px;padding:1rem;border:1px solid rgba(51,65,85,.5);cursor:pointer;transition:all .3s ease}.agent-card:hover{border-color:#3b82f680;transform:translate(4px)}.agent-card.active,.agent-card.meta-learning{border-color:#10b98180}.agent-card.incident{border-color:#ef44444d}.agent-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.agent-name{font-size:.875rem;font-weight:600;color:#f1f5f9}.status-indicator{font-size:.75rem}.status-indicator.active,.status-indicator.meta-learning{color:#10b981}.status-indicator.incident{color:#ef4444}.status-indicator.inactive{color:#94a3b880}.agent-description{font-size:.75rem;color:#94a3b8b3;margin-bottom:.5rem}.agent-meta{font-size:.7rem;color:#94a3b899;margin-top:.25rem}.orchestration-footer{margin-top:2rem;text-align:center;font-size:.875rem;color:#94a3b880;line-height:1.6}@media(max-width:1200px){.agents-grid{grid-template-columns:1fr}}.live-feed{background:#0f172a99;border-radius:12px;padding:1.5rem;border:1px solid rgba(51,65,85,.5);display:flex;flex-direction:column;height:100%}.status-dots{margin-left:auto;display:flex;gap:.5rem}.dot{width:10px;height:10px;border-radius:50%}.dot.red{background:#ef4444}.dot.yellow{background:#eab308}.dot.green{background:#10b981;animation:pulse 2s infinite}.feed-container{flex:1;background:#0000004d;border-radius:8px;padding:1rem;margin:1rem 0;overflow-y:auto;max-height:600px;min-height:400px;font-family:Courier New,monospace}.logs-list{display:flex;flex-direction:column;gap:.5rem}.log-entry{display:flex;gap:.5rem;font-size:.75rem;line-height:1.6;padding:.5rem;border-radius:4px;transition:background .2s ease}.log-entry:hover{background:#3b82f60d}.log-timestamp{color:#94a3b899}.log-type{font-weight:600}.log-type.critical{color:#ef4444}.log-type.recovery{color:#10b981}.log-message{color:#f1f5f9e6}.system-health{border-top:1px solid rgba(51,65,85,.5);padding-top:1rem;margin-top:auto}.health-header{display:flex;align-items:center;gap:.5rem;margin-bottom:1rem}.health-header h3{font-size:.75rem;font-weight:600;color:#94a3b8b3;letter-spacing:.5px;margin:0}.health-metrics{display:flex;flex-direction:column;gap:1rem}.health-metric{display:flex;align-items:center;gap:1rem}.metric-label{font-size:.7rem;font-weight:600;color:#94a3b8b3;min-width:100px}.metric-bar{flex:1;height:6px;background:#1e293bcc;border-radius:3px;overflow:hidden}.metric-fill{height:100%;background:linear-gradient(90deg,#10b981,#059669);border-radius:3px;transition:width .5s ease}.metric-value{font-size:.75rem;font-weight:600;color:#10b981;min-width:80px;text-align:right}.metric-value.uptime{color:#f1f5f9}.feed-container::-webkit-scrollbar{width:6px}.feed-container::-webkit-scrollbar-track{background:#1e293b80;border-radius:3px}.feed-container::-webkit-scrollbar-thumb{background:#3b82f680;border-radius:3px}.feed-container::-webkit-scrollbar-thumb:hover{background:#3b82f6b3}.auth-container{display:flex;justify-content:center;align-items:center;min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2);padding:20px}.auth-card{background:#fff;border-radius:12px;padding:40px;box-shadow:0 20px 40px #0000001a;width:100%;max-width:400px}.auth-title{text-align:center;margin-bottom:30px;color:#333;font-size:28px;font-weight:600}.auth-subtitle{text-align:center;margin-bottom:30px;color:#666;font-size:16px;line-height:1.5}.auth-form{display:flex;flex-direction:column;gap:20px}.form-group{display:flex;flex-direction:column}.form-label{margin-bottom:8px;color:#555;font-weight:500;font-size:14px}.form-input{padding:12px 16px;border:2px solid #e1e5e9;border-radius:8px;font-size:16px;transition:border-color .3s ease}.form-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.form-row{display:flex;gap:15px}.form-row .form-group{flex:1}.auth-button{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:14px 20px;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease;margin-top:10px}.auth-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 8px 20px #667eea4d}.auth-button:disabled{opacity:.7;cursor:not-allowed;transform:none}.error-message{background:#fee;color:#c33;padding:12px;border-radius:6px;border:1px solid #fcc;font-size:14px;text-align:center}.success-message{background:#efe;color:#363;padding:12px;border-radius:6px;border:1px solid #cfc;font-size:14px;text-align:center}.auth-links{margin-top:30px;text-align:center;display:flex;flex-direction:column;gap:10px}.link-button{background:none;border:none;color:#667eea;cursor:pointer;font-size:14px;text-decoration:underline;transition:color .2s ease}.link-button:hover{color:#764ba2}.back-button{position:absolute;top:20px;left:20px;background:#f5f5f5;border:1px solid #ddd;padding:8px 16px;border-radius:6px;cursor:pointer;font-size:14px;transition:background-color .2s ease}.back-button:hover{background:#e9e9e9}@media(max-width:480px){.auth-container{padding:10px}.auth-card{padding:30px 20px}.auth-title{font-size:24px}}.app{min-height:100vh;background:linear-gradient(135deg,#0a0f19,#1a1f2e);color:#f1f5f9}.main-content{padding:1.5rem;max-width:1920px;margin:0 auto}.dashboard-grid{display:grid;grid-template-columns:400px 1fr 400px;gap:1.5rem;align-items:start}.dashboard-grid>:nth-child(1){grid-column:1;grid-row:1 / 3}.dashboard-grid>:nth-child(2){grid-column:3;grid-row:1 / 3}.dashboard-grid>:nth-child(3){grid-column:2;grid-row:1 / 3}@media(max-width:1600px){.dashboard-grid{grid-template-columns:350px 1fr 350px}}@media(max-width:1400px){.dashboard-grid{grid-template-columns:1fr 1fr;gap:1rem}.dashboard-grid>:nth-child(1){grid-column:1;grid-row:1}.dashboard-grid>:nth-child(2){grid-column:2;grid-row:1}.dashboard-grid>:nth-child(3){grid-column:1 / 3;grid-row:2}}@media(max-width:768px){.main-content{padding:1rem}.dashboard-grid{grid-template-columns:1fr;gap:1rem}.dashboard-grid>:nth-child(1),.dashboard-grid>:nth-child(2),.dashboard-grid>:nth-child(3){grid-column:1;grid-row:auto}}
