*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;background:var(--bg-dark);color:var(--text);line-height:1.6;transition:background-color .3s,color .3s}:root{--primary: #6366f1;--primary-hover: #4f46e5;--secondary: #10b981;--danger: #ef4444;--bg-dark: #0f0f0f;--bg-card: #1a1a1a;--bg-input: #262626;--border: #333;--text: #e0e0e0;--text-dim: #a0a0a0}:root.light{--primary: #4f46e5;--primary-hover: #4338ca;--secondary: #059669;--danger: #dc2626;--bg-dark: #f5f5f5;--bg-card: #ffffff;--bg-input: #f0f0f0;--border: #d1d5db;--text: #1f2937;--text-dim: #6b7280}button{cursor:pointer;border:none;padding:.625rem 1.25rem;border-radius:.5rem;font-size:.875rem;font-weight:600;transition:all .2s ease;position:relative;overflow:hidden}button.primary{background:linear-gradient(135deg,var(--primary) 0%,#818cf8 100%);color:#fff;box-shadow:0 2px 8px #6366f159}button.primary:hover{background:linear-gradient(135deg,var(--primary-hover) 0%,#6366f1 100%);box-shadow:0 4px 16px #6366f173;transform:translateY(-1px)}button.primary:active{transform:translateY(0);box-shadow:0 1px 4px #6366f14d}button.secondary{background:var(--bg-input);color:var(--text);border:1px solid var(--border);box-shadow:0 1px 3px #0000001a}button.secondary:hover{background:var(--border);border-color:var(--text-dim);transform:translateY(-1px);box-shadow:0 2px 6px #00000026}button.secondary:active{transform:translateY(0)}button.danger{background:linear-gradient(135deg,var(--danger) 0%,#f87171 100%);color:#fff;box-shadow:0 2px 8px #ef444459}button.danger:hover{background:linear-gradient(135deg,#dc2626,#ef4444);box-shadow:0 4px 16px #ef444473;transform:translateY(-1px)}button.danger:active{transform:translateY(0);box-shadow:0 1px 4px #ef44444d}button.warning{background:linear-gradient(135deg,#f59e0b,#fbbf24);color:#fff;box-shadow:0 2px 8px #f59e0b59}button.warning:hover{background:linear-gradient(135deg,#d97706,#f59e0b);box-shadow:0 4px 16px #f59e0b73;transform:translateY(-1px)}button.warning:active{transform:translateY(0);box-shadow:0 1px 4px #f59e0b4d}button:disabled{opacity:.5;cursor:not-allowed;transform:none!important;box-shadow:none!important}button.success{background:linear-gradient(135deg,var(--secondary) 0%,#34d399 100%);color:#fff;box-shadow:0 2px 8px #10b98159}button.success:hover{background:linear-gradient(135deg,#059669,#10b981);box-shadow:0 4px 16px #10b98173;transform:translateY(-1px)}button.success:active{transform:translateY(0);box-shadow:0 1px 4px #10b9814d}button.icon-btn{padding:.5rem;min-width:2.25rem;height:2.25rem;display:inline-flex;align-items:center;justify-content:center;border-radius:.5rem}button.sm{padding:.375rem .75rem;font-size:.75rem;border-radius:.375rem}button.lg{padding:.875rem 1.75rem;font-size:1rem;border-radius:.625rem}button.ghost{background:transparent;color:var(--primary);border:1px solid var(--primary);box-shadow:none}button.ghost:hover{background:#6366f11a;box-shadow:0 2px 8px #6366f126}input,textarea,select{background:var(--bg-input);border:1px solid var(--border);color:var(--text);padding:.625rem .875rem;border-radius:.5rem;font-size:.875rem;transition:all .2s ease;box-shadow:inset 0 1px 2px #0000000d}input:focus,textarea:focus,select:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px #6366f126,inset 0 1px 2px #0000000d}input:hover:not(:focus),textarea:hover:not(:focus),select:hover:not(:focus){border-color:var(--text-dim)}input::placeholder,textarea::placeholder{color:var(--text-dim);opacity:.7}.card{background:var(--bg-card);border:1px solid var(--border);border-radius:.75rem;padding:1.5rem;transition:all .2s ease;box-shadow:0 1px 3px #0000001a}.card:hover{box-shadow:0 4px 12px #00000026}.spinner{border:3px solid var(--border);border-top-color:var(--primary);border-radius:50%;width:24px;height:24px;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.navbar.svelte-q971rm{position:sticky;top:0;z-index:100;background:var(--bg-card);border-bottom:1px solid var(--border);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#1a1a1af2}.light .navbar.svelte-q971rm{background:#fffffff2}.nav-container.svelte-q971rm{max-width:1600px;margin:0 auto;padding:0 1.5rem;height:64px;display:flex;align-items:center;justify-content:space-between;gap:2rem}.nav-brand.svelte-q971rm{display:flex;align-items:center;gap:.75rem;text-decoration:none;color:var(--text)}.brand-icon.svelte-q971rm{width:36px;height:36px;background:linear-gradient(135deg,var(--primary) 0%,#818cf8 100%);border-radius:.5rem;display:flex;align-items:center;justify-content:center;color:#fff;box-shadow:0 2px 8px #6366f159}.brand-icon.svelte-q971rm svg:where(.svelte-q971rm){width:20px;height:20px}.brand-text.svelte-q971rm{display:flex;flex-direction:column;line-height:1.1}.brand-name.svelte-q971rm{font-size:.7rem;font-weight:500;color:var(--text-dim);text-transform:uppercase;letter-spacing:.5px}.brand-product.svelte-q971rm{font-size:1.125rem;font-weight:700;background:linear-gradient(135deg,var(--primary),#818cf8);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.nav-links.svelte-q971rm{display:flex;align-items:center;gap:.5rem}.nav-link.svelte-q971rm{display:flex;align-items:center;gap:.5rem;padding:.625rem 1rem;border-radius:.5rem;text-decoration:none;color:var(--text-dim);font-weight:500;font-size:.875rem;transition:all .2s ease}.nav-link.svelte-q971rm svg:where(.svelte-q971rm){width:18px;height:18px}.nav-link.svelte-q971rm:hover{color:var(--text);background:var(--bg-input)}.nav-link.active.svelte-q971rm{color:var(--primary);background:#6366f11a}.nav-actions.svelte-q971rm{display:flex;align-items:center;gap:.75rem}.api-status.svelte-q971rm{display:flex;align-items:center;gap:.5rem;padding:.375rem .75rem;border-radius:1rem;font-size:.75rem;font-weight:500;background:#ef444426;color:#ef4444}.api-status.connected.svelte-q971rm{background:#22c55e26;color:#22c55e}.status-dot.svelte-q971rm{width:6px;height:6px;border-radius:50%;background:currentColor;animation:svelte-q971rm-pulse 2s infinite}@keyframes svelte-q971rm-pulse{0%,to{opacity:1}50%{opacity:.5}}.status-text.svelte-q971rm{display:none}@media (min-width: 640px){.status-text.svelte-q971rm{display:inline}}.theme-toggle.svelte-q971rm{width:40px;height:40px;padding:0;display:flex;align-items:center;justify-content:center;background:var(--bg-input);border:1px solid var(--border);border-radius:.5rem;color:var(--text);cursor:pointer;transition:all .2s ease}.theme-toggle.svelte-q971rm:hover{background:var(--border);transform:rotate(15deg)}.theme-toggle.svelte-q971rm svg:where(.svelte-q971rm){width:20px;height:20px}.mobile-menu-toggle.svelte-q971rm{display:none;width:40px;height:40px;padding:0;align-items:center;justify-content:center;background:var(--bg-input);border:1px solid var(--border);border-radius:.5rem;color:var(--text);cursor:pointer}.mobile-menu-toggle.svelte-q971rm svg:where(.svelte-q971rm){width:20px;height:20px}.mobile-menu.svelte-q971rm{display:none;flex-direction:column;padding:1rem;border-top:1px solid var(--border);background:var(--bg-card)}.mobile-nav-link.svelte-q971rm{display:flex;align-items:center;gap:.75rem;padding:.875rem 1rem;border-radius:.5rem;text-decoration:none;color:var(--text-dim);font-weight:500;transition:all .2s ease}.mobile-nav-link.svelte-q971rm svg:where(.svelte-q971rm){width:20px;height:20px}.mobile-nav-link.svelte-q971rm:hover,.mobile-nav-link.active.svelte-q971rm{color:var(--primary);background:#6366f11a}.mobile-nav-link.logout.svelte-q971rm{color:var(--danger);border:none;background:none;width:100%;text-align:left;font-size:.875rem;cursor:pointer}.mobile-nav-link.logout.svelte-q971rm:hover{color:var(--danger);background:#ef44441a}.mobile-menu-divider.svelte-q971rm{height:1px;background:var(--border);margin:.5rem 0}.mobile-user-info.svelte-q971rm{display:flex;align-items:center;gap:.75rem;padding:.875rem 1rem}.mobile-user-details.svelte-q971rm{display:flex;flex-direction:column;gap:.125rem}.mobile-user-name.svelte-q971rm{font-size:.875rem;font-weight:600;color:var(--text)}.mobile-user-email.svelte-q971rm{font-size:.75rem;color:var(--text-dim)}@media (max-width: 768px){.nav-links.svelte-q971rm{display:none}.mobile-menu-toggle.svelte-q971rm,.mobile-menu.svelte-q971rm{display:flex}.brand-text.svelte-q971rm{display:none}@media (min-width: 400px){.brand-text.svelte-q971rm{display:flex}}.user-name.svelte-q971rm{display:none}}.user-menu-container.svelte-q971rm{position:relative}.user-menu-toggle.svelte-q971rm{display:flex;align-items:center;gap:.5rem;padding:.375rem .75rem;background:var(--bg-input);border:1px solid var(--border);border-radius:.5rem;color:var(--text);cursor:pointer;transition:all .2s ease}.user-menu-toggle.svelte-q971rm:hover{background:var(--border)}.user-avatar.svelte-q971rm{width:28px;height:28px;background:linear-gradient(135deg,var(--primary) 0%,#818cf8 100%);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:600;color:#fff}.user-avatar.large.svelte-q971rm{width:40px;height:40px;font-size:1rem}.user-name.svelte-q971rm{font-size:.875rem;font-weight:500;max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chevron.svelte-q971rm{width:16px;height:16px;transition:transform .2s ease}.chevron.open.svelte-q971rm{transform:rotate(180deg)}.user-dropdown.svelte-q971rm{position:absolute;top:calc(100% + .5rem);right:0;min-width:220px;background:var(--bg-card);border:1px solid var(--border);border-radius:.75rem;box-shadow:0 4px 20px #0003;z-index:200;overflow:hidden}.user-dropdown-header.svelte-q971rm{display:flex;align-items:center;gap:.75rem;padding:1rem}.user-info.svelte-q971rm{display:flex;flex-direction:column;gap:.125rem}.user-info-name.svelte-q971rm{font-size:.875rem;font-weight:600;color:var(--text)}.user-info-email.svelte-q971rm{font-size:.75rem;color:var(--text-dim)}.user-dropdown-divider.svelte-q971rm{height:1px;background:var(--border)}.user-dropdown-item.svelte-q971rm{display:flex;align-items:center;gap:.75rem;width:100%;padding:.75rem 1rem;background:none;border:none;color:var(--text);font-size:.875rem;cursor:pointer;transition:all .2s ease}.user-dropdown-item.svelte-q971rm:hover{background:var(--bg-input)}.user-dropdown-item.svelte-q971rm svg:where(.svelte-q971rm){width:18px;height:18px;color:var(--text-dim)}@media (max-width: 768px){.user-name.svelte-q971rm,.chevron.svelte-q971rm{display:none}}.loading-container.svelte-12qhfyh{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;color:var(--text-dim)}.loading-container.svelte-12qhfyh p:where(.svelte-12qhfyh){font-size:.875rem}
