@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap";:root{--brand: #1b6fe8;--brand-hover: #1558c0;--brand-light: #eff4ff;--brand-text: #1558c0;--sidebar-bg: #0b1829;--sidebar-hover: #162340;--sidebar-active: #1e3258;--sidebar-border: #1a2d4a;--sidebar-text: #7a9ab8;--sidebar-text-on: #ffffff;--bg: #f0f4f8;--surface: #ffffff;--surface2: #f7f9fc;--border: #e2e8f0;--border-strong: #cbd5e1;--text: #1a2332;--text-muted: #64748b;--text-subtle: #94a3b8;--success: #059669;--success-bg: #f0fdf4;--success-text: #065f46;--error: #dc2626;--error-bg: #fef2f2;--error-text: #991b1b;--warning: #d97706;--warning-bg: #fffbeb;--warning-text: #92400e;--info: #0284c7;--info-bg: #f0f9ff;--info-text: #075985;--radius-sm: 6px;--radius: 8px;--radius-lg: 12px;--shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);--shadow: 0 2px 8px rgba(0,0,0,.08), 0 1px 3px rgba(0,0,0,.05)}*{box-sizing:border-box}body{margin:0;font-family:Inter,Segoe UI,Arial,sans-serif;font-size:14px;line-height:1.5;background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased}.app-shell{display:flex;min-height:100vh}.sidebar{width:228px;background:var(--sidebar-bg);display:flex;flex-direction:column;flex-shrink:0;position:sticky;top:0;height:100vh}.sidebar-logo{padding:18px 16px 16px;border-bottom:1px solid var(--sidebar-border)}.sidebar-logo-mark{display:flex;align-items:center;gap:10px}.logo-icon{width:32px;height:32px;background:var(--brand);border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.logo-icon svg{width:17px;height:17px;color:#fff}.logo-name{font-size:13px;font-weight:700;color:#fff;line-height:1.2}.logo-sub{font-size:11px;color:#4a6a8a;margin-top:2px}.sidebar-nav{flex:1;padding:10px 8px;overflow-y:auto}.nav-section-label{font-size:10px;text-transform:uppercase;letter-spacing:.07em;color:#3d5a78;padding:12px 10px 4px;font-weight:600}.sidebar nav a{display:flex;align-items:center;gap:9px;padding:8px 10px;border-radius:var(--radius-sm);color:var(--sidebar-text);text-decoration:none;font-size:13.5px;font-weight:500;margin-bottom:2px;transition:background .12s,color .12s}.sidebar nav a svg{width:16px;height:16px;flex-shrink:0}.sidebar nav a:hover{background:var(--sidebar-hover);color:#c8daf0}.sidebar nav a.active{background:var(--sidebar-active);color:var(--sidebar-text-on)}.sidebar-footer{padding:10px 8px 14px;border-top:1px solid var(--sidebar-border)}.user-block{display:flex;align-items:center;gap:9px;padding:8px 10px;border-radius:var(--radius-sm)}.user-avatar{width:28px;height:28px;border-radius:50%;background:var(--brand);display:flex;align-items:center;justify-content:center;font-size:10.5px;font-weight:700;color:#fff;flex-shrink:0;text-transform:uppercase}.user-email{font-size:11.5px;color:#4a6a8a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.signout-link{display:flex;align-items:center;gap:7px;padding:7px 10px;border-radius:var(--radius-sm);color:#4a6a8a;font-size:12.5px;cursor:pointer;border:none;background:transparent;width:100%;text-align:left;transition:background .12s,color .12s}.signout-link svg{width:14px;height:14px}.signout-link:hover{background:var(--sidebar-hover);color:#c8daf0}.main{flex:1;min-width:0;display:flex;flex-direction:column}.topbar{background:var(--surface);border-bottom:1px solid var(--border);padding:0 28px;height:56px;display:flex;align-items:center;justify-content:space-between;flex-shrink:0;position:sticky;top:0;z-index:10}.topbar-title{font-size:15px;font-weight:700;color:var(--text)}.topbar-actions{display:flex;gap:8px;align-items:center}.page-content{padding:24px 28px}button,.btn{display:inline-flex;align-items:center;gap:6px;font-family:inherit;font-size:13.5px;font-weight:600;border-radius:var(--radius-sm);cursor:pointer;padding:8px 16px;border:none;transition:background .12s,box-shadow .12s;white-space:nowrap}button.primary,.btn-primary{background:var(--brand);color:#fff}button.primary:hover,.btn-primary:hover{background:var(--brand-hover)}button.secondary,.btn-secondary{background:var(--surface);color:var(--text);border:1px solid var(--border)}button.secondary:hover,.btn-secondary:hover{background:var(--surface2);border-color:var(--border-strong)}button.danger{background:var(--error-bg);color:var(--error-text);border:1px solid #fca5a5}button.danger:hover{background:#fee2e2}button:disabled{opacity:.5;cursor:not-allowed}button.ghost{background:transparent;color:var(--text-muted);border:1px solid var(--border);padding:6px 11px;font-size:13px}button.ghost:hover{background:var(--surface2);color:var(--text)}button.icon-btn{background:transparent;border:1px solid var(--border);color:var(--text-muted);padding:6px 9px}button.icon-btn:hover{background:var(--surface2);color:var(--text)}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:20px 22px}.card+.card{margin-top:16px}.stats-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px;margin-bottom:24px}.stat-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:16px 18px}.stat-label{font-size:12px;color:var(--text-muted);font-weight:500;margin-bottom:6px}.stat-value{font-size:26px;font-weight:700;color:var(--text);line-height:1}.stat-sub{font-size:11.5px;color:var(--text-subtle);margin-top:5px;display:flex;align-items:center;gap:5px}.stat-dot{width:7px;height:7px;border-radius:50%;display:inline-block}.section-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.section-title{font-size:11.5px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted)}.tenant-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px}.tenant-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:16px 18px;display:flex;flex-direction:column;transition:box-shadow .15s,border-color .15s}.tenant-card:hover{box-shadow:var(--shadow);border-color:var(--border-strong)}.tenant-header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:10px}.tenant-identity{display:flex;align-items:center;gap:11px}.tenant-avatar{width:38px;height:38px;border-radius:9px;display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:700;flex-shrink:0}.tenant-name{font-size:14px;font-weight:700;color:var(--text);line-height:1.2}.tenant-domain{font-size:12px;color:var(--text-subtle);margin-top:2px}.tenant-meta{font-size:12px;color:var(--text-muted);margin-bottom:14px}.tenant-actions{display:flex;gap:7px;margin-top:auto;padding-top:12px;border-top:1px solid var(--border)}.tenant-actions button{margin-top:0}.tenant-actions .btn-run{flex:1;justify-content:center}.tenant-empty{background:var(--surface);border:2px dashed var(--border);border-radius:var(--radius-lg);padding:32px 20px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;color:var(--text-subtle)}.tenant-empty-icon{width:42px;height:42px;border-radius:10px;background:var(--brand-light);display:flex;align-items:center;justify-content:center}.tenant-empty p{font-size:13px;margin:0}.badge{display:inline-flex;align-items:center;gap:4px;padding:3px 10px;border-radius:20px;font-size:11.5px;font-weight:600}.badge:before{content:"";width:6px;height:6px;border-radius:50%}.badge.connected,.badge.completed{background:var(--success-bg);color:var(--success-text)}.badge.connected:before,.badge.completed:before{background:var(--success)}.badge.running{background:var(--info-bg);color:var(--info-text)}.badge.running:before{background:var(--info)}.badge.failed{background:var(--error-bg);color:var(--error-text)}.badge.failed:before{background:var(--error)}.badge.cancelled{background:var(--warning-bg);color:var(--warning-text)}.badge.cancelled:before{background:var(--warning)}.badge.pending{background:var(--surface2);color:var(--text-muted)}.badge.pending:before{background:var(--text-subtle)}.table-wrap{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden}table{width:100%;border-collapse:collapse}thead{background:var(--surface2)}th{text-align:left;padding:11px 16px;font-size:11.5px;font-weight:700;color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em;border-bottom:1px solid var(--border)}td{padding:13px 16px;font-size:13.5px;color:var(--text);border-bottom:1px solid var(--border)}tbody tr:last-child td{border-bottom:none}tbody tr:hover{background:var(--surface2)}td.muted{color:var(--text-subtle)}.form-group{margin-bottom:18px}.form-label{display:block;font-size:13px;font-weight:600;color:var(--text);margin-bottom:6px}.form-hint{font-size:12px;color:var(--text-muted);margin-top:4px}input[type=text],input[type=email],input[type=password],textarea,select{width:100%;padding:9px 12px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text);font-family:inherit;font-size:13.5px;transition:border-color .15s,box-shadow .15s;-webkit-appearance:none;-moz-appearance:none;appearance:none}input:focus,textarea:focus,select:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px #1b6fe81f}input::placeholder{color:var(--text-subtle)}.checkbox-group{display:flex;flex-direction:column;gap:10px;margin-top:8px}.checkbox-row{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface2);cursor:pointer;transition:border-color .12s,background .12s}.checkbox-row:hover{border-color:var(--brand);background:var(--brand-light)}.checkbox-row input[type=checkbox]{width:16px;height:16px;margin-top:1px;flex-shrink:0;accent-color:var(--brand);cursor:pointer}.checkbox-row-label{font-size:13.5px;font-weight:600;color:var(--text)}.checkbox-row-desc{font-size:12px;color:var(--text-muted);margin-top:2px}.alert{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border-radius:var(--radius-sm);font-size:13.5px;margin-bottom:16px;border:1px solid transparent}.alert.error{background:var(--error-bg);color:var(--error-text);border-color:#fca5a5}.alert.success{background:var(--success-bg);color:var(--success-text);border-color:#6ee7b7}.alert.info{background:var(--info-bg);color:var(--info-text);border-color:#7dd3fc}.log-pane{background:#0f1621;border:1px solid #1e2d40;border-radius:var(--radius);padding:14px 16px;height:460px;overflow-y:auto;font-family:Cascadia Code,Fira Code,Consolas,monospace;font-size:12.5px;line-height:1.7;white-space:pre-wrap;word-break:break-word;color:#7ec8a0}.auth-page{min-height:100vh;background:var(--bg);display:flex;align-items:center;justify-content:center;padding:20px}.auth-card{width:100%;max-width:400px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:32px 36px;box-shadow:var(--shadow)}.auth-logo{display:flex;align-items:center;gap:10px;margin-bottom:28px}.auth-logo-icon{width:36px;height:36px;border-radius:9px;background:var(--brand);display:flex;align-items:center;justify-content:center}.auth-logo-icon svg{width:18px;height:18px;color:#fff}.auth-logo-name{font-size:15px;font-weight:700;color:var(--text)}.auth-logo-sub{font-size:11.5px;color:var(--text-muted)}.auth-title{font-size:20px;font-weight:700;color:var(--text);margin-bottom:4px}.auth-subtitle{font-size:13.5px;color:var(--text-muted);margin-bottom:24px}.auth-footer{margin-top:20px;font-size:13px;color:var(--text-muted);text-align:center}.auth-footer a{color:var(--brand);text-decoration:none;font-weight:600}.auth-footer a:hover{text-decoration:underline}.auth-divider{border:none;border-top:1px solid var(--border);margin:20px 0}.muted{color:var(--text-muted)}a.link{color:var(--brand);text-decoration:none;font-weight:600}a.link:hover{text-decoration:underline}.empty-state{text-align:center;padding:48px 24px;color:var(--text-subtle)}.empty-state h3{font-size:16px;color:var(--text-muted);margin-bottom:6px;font-weight:600}.empty-state p{font-size:13.5px;margin:0}.page-header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:24px;gap:16px}.page-header-text h2{font-size:20px;font-weight:700;color:var(--text);margin:0 0 3px}.page-header-text p{font-size:13.5px;color:var(--text-muted);margin:0}
