*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}:root{--bg: #0f1117;--surface: #1a1d27;--surface-2: #252836;--border: #2e3347;--text: #e2e8f0;--text-muted: #8b93a7;--primary: #6366f1;--primary-dim: #4f52c4;--success: #22c55e;--warning: #f59e0b;--error: #ef4444;--radius: 10px;--shadow: 0 2px 12px rgba(0,0,0,.4)}html,body,#root{height:100%}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:14px;line-height:1.6;background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased}a{color:var(--primary);text-decoration:none}a:hover{text-decoration:underline}button{cursor:pointer;font-family:inherit;font-size:inherit}input,textarea{font-family:inherit;font-size:inherit}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:20px;box-shadow:var(--shadow)}.btn{display:inline-flex;align-items:center;gap:6px;padding:8px 16px;border:none;border-radius:6px;font-weight:500;transition:background .15s,opacity .15s}.btn-primary{background:var(--primary);color:#fff}.btn-primary:hover{background:var(--primary-dim)}.btn-secondary{background:var(--surface-2);color:var(--text);border:1px solid var(--border)}.btn-secondary:hover{background:var(--border)}.btn:disabled{opacity:.5;cursor:not-allowed}.badge{display:inline-block;padding:2px 10px;border-radius:20px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.badge-idle{background:#6366f126;color:var(--primary)}.badge-running{background:#f59e0b26;color:var(--warning)}.badge-error{background:#ef444426;color:var(--error)}.badge-success{background:#22c55e26;color:var(--success)}.error-msg{color:var(--error);font-size:13px;margin-top:6px}@keyframes spin{to{transform:rotate(360deg)}}.spinner{display:inline-block;width:14px;height:14px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .7s linear infinite;flex-shrink:0}.app-shell{display:flex;min-height:100vh}.sidebar{width:220px;min-width:220px;background:var(--surface);border-right:1px solid var(--border);display:flex;flex-direction:column;position:sticky;top:0;height:100vh;overflow-y:auto;z-index:20}.sidebar-logo{display:flex;align-items:center;gap:10px;padding:20px 18px 16px;border-bottom:1px solid var(--border)}.sidebar-logo-img{width:36px;height:36px;border-radius:50%;object-fit:cover;flex-shrink:0}.sidebar-logo-text{font-weight:800;font-size:16px;color:var(--text);white-space:nowrap}.sidebar-nav{flex:1;padding:12px 10px;display:flex;flex-direction:column;gap:2px}.sidebar-nav-item{display:flex;align-items:center;gap:10px;width:100%;padding:9px 12px;background:transparent;border:none;border-radius:7px;color:var(--text-muted);font-size:14px;font-weight:500;text-align:left;transition:background .12s,color .12s}.sidebar-nav-item:hover:not(:disabled){background:var(--surface-2);color:var(--text)}.sidebar-nav-item.active{background:#6366f126;color:var(--primary)}.sidebar-nav-item.soon{opacity:.45;cursor:not-allowed}.sidebar-soon-tag{margin-left:auto;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.4px;background:var(--surface-2);color:var(--text-muted);padding:2px 6px;border-radius:4px}.sidebar-footer{border-top:1px solid var(--border);padding:14px 16px;display:flex;flex-direction:column;gap:8px}.sidebar-user-email{font-size:12px;color:var(--text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-logout{width:100%;font-size:13px;padding:7px 12px}.app-main{flex:1;display:flex;flex-direction:column;overflow:hidden;min-width:0}.page-content{flex:1;padding:28px 32px;max-width:1100px;width:100%;overflow-y:auto}.mobile-topbar{display:none}.hamburger-btn{background:transparent;border:none;color:var(--text);padding:8px;display:flex;align-items:center}.sidebar-backdrop{display:none;position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;z-index:19}input:not([type=checkbox]),select,textarea{background:var(--surface-2);border:1px solid var(--border);border-radius:6px;color:var(--text);padding:7px 10px;font-size:14px;width:100%;transition:border-color .15s}input:not([type=checkbox]):focus,select:focus,textarea:focus{outline:none;border-color:var(--primary)}input::placeholder,textarea::placeholder{color:var(--text-muted)}select option{background:var(--surface-2)}@media (max-width: 768px){.sidebar{position:fixed;top:0;left:0;height:100vh;transform:translate(-100%);transition:transform .22s ease;z-index:20}.sidebar.sidebar-open{transform:translate(0)}.sidebar-backdrop{display:block}.mobile-topbar{display:flex;align-items:center;justify-content:space-between;padding:0 16px;height:52px;background:var(--surface);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:10}.page-content{padding:16px}.connection-banner{flex-direction:column;align-items:flex-start;gap:10px}.stock-col-updated{display:none}}
