@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #f1f5f9;
  color: #1e293b;
  line-height: 1.6;
  font-size: 15px;
}

#app {
  min-height: 100vh;
}

/* ─── Navigation ─────────────────────────────── */

nav {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.nav-brand-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
}

.nav-brand h1 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  letter-spacing: -0.3px;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
}

.nav-links a {
  text-decoration: none;
  color: #64748b;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.2s;
}

.nav-links a:hover {
  color: #6366f1;
  background: #f1f0fe;
}

.nav-links a.router-link-active {
  color: #6366f1;
  background: #ede9fe;
  font-weight: 600;
}

/* ─── Container ──────────────────────────────── */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 2rem;
}

/* ─── Cards ──────────────────────────────────── */

.card {
  background: white;
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.04);
  border: 1px solid #f1f5f9;
  margin-bottom: 1.5rem;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f1f5f9;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}

/* ─── Buttons ────────────────────────────────── */

.btn {
  padding: 0.55rem 1.25rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  letter-spacing: 0.01em;
  line-height: 1.5;
}

.btn-primary {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.45);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: white;
  color: #374151;
  border: 1.5px solid #e2e8f0;
}

.btn-secondary:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.btn-danger {
  background: #fef2f2;
  color: #dc2626;
  border: 1.5px solid #fecaca;
}

.btn-danger:hover {
  background: #fee2e2;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.btn-sm {
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
}

/* ─── Badges ─────────────────────────────────── */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.8rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.badge-completed { background: #dcfce7; color: #16a34a; }

.badge-running   { background: #dbeafe; color: #2563eb; }

.badge-failed    { background: #fee2e2; color: #dc2626; }

.badge-pending   { background: #fef9c3; color: #ca8a04; }

/* ─── Progress Bar ───────────────────────────── */

.progress-wrap {
  margin-top: 0.75rem;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 0.4rem;
  font-weight: 500;
}

.progress-bar {
  height: 6px;
  background: #e2e8f0;
  border-radius: 9999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  border-radius: 9999px;
  transition: width 0.6s ease;
}

/* ─── Loader ─────────────────────────────────── */

.loader-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  gap: 1rem;
}

.spinner {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid #e2e8f0;
  border-top-color: #6366f1;
  animation: spin 0.8s linear infinite;
}

.spinner-sm {
  width: 18px;
  height: 18px;
  border-width: 2px;
  margin: 0;
  display: inline-block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loader-text {
  color: #64748b;
  font-size: 0.95rem;
  font-weight: 500;
}

/* ─── Grid ───────────────────────────────────── */

.grid {
  display: grid;
  gap: 1rem;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.grid-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* ─── Form ───────────────────────────────────── */

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: #374151;
  font-size: 0.875rem;
}

.form-input,
.form-select {
  width: 100%;
  padding: 0.6rem 0.875rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: inherit;
  color: #1e293b;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.form-hint {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 0.3rem;
}

/* ─── List ───────────────────────────────────── */

.list {
  list-style: none;
  background: white;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.07);
  border: 1px solid #f1f5f9;
  overflow: hidden;
}

.list-item {
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: background 0.15s;
}

.list-item:hover {
  background: #f8fafc;
}

.list-item:last-child {
  border-bottom: none;
}

/* ─── Page Header ────────────────────────────── */

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.75rem;
}

.page-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: -0.4px;
}

/* ─── Empty State ────────────────────────────── */

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: white;
  border-radius: 12px;
  border: 1px solid #f1f5f9;
}

.empty-state-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.empty-state p {
  color: #64748b;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

/* ─── Alert ──────────────────────────────────── */

.alert {
  padding: 1rem 1.25rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.alert-error   { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }

.alert-success { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }

/* ─── Detail Grid ────────────────────────────── */

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}

.detail-item dt {
  font-size: 0.78rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
}

.detail-item dd {
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
}

/* ─── Plots Grid ─────────────────────────────── */

.plots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.plot-card {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
}

.plot-card-title {
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  text-transform: capitalize;
}

.plot-card img {
  width: 100%;
  display: block;
}

/* ─── Utilities ──────────────────────────────── */

.mb-4  { margin-bottom: 1rem; }

.mb-6  { margin-bottom: 1.5rem; }

.mb-8  { margin-bottom: 2rem; }

.mt-4  { margin-top: 1rem; }

.flex  { display: flex; }

.flex-between { justify-content: space-between; }

.flex-center  { align-items: center; }

.gap-4 { gap: 1rem; }

.text-muted { color: #64748b; font-size: 0.875rem; }
.home-wrapper[data-v-e7381a18] {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
}

/* Hero Section */
.hero-section[data-v-e7381a18] {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 2rem;
  min-height: 600px;
}
.hero-content[data-v-e7381a18] {
  max-width: 600px;
}
.hero-title[data-v-e7381a18] {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle[data-v-e7381a18] {
  font-size: 1.25rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}
.hero-actions[data-v-e7381a18] {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.btn[data-v-e7381a18] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}
.btn-primary[data-v-e7381a18] {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}
.btn-primary[data-v-e7381a18]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(102, 126, 234, 0.3);
}
.btn-secondary[data-v-e7381a18] {
  background: white;
  color: #667eea;
  border: 2px solid #667eea;
}
.btn-secondary[data-v-e7381a18]:hover {
  background: #f8f9ff;
  transform: translateY(-2px);
}
.btn-lg[data-v-e7381a18] {
  padding: 0.875rem 2rem;
  font-size: 1rem;
}

/* Vortex Animation */
.hero-visual[data-v-e7381a18] {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 500px;
}
.vortex-animation[data-v-e7381a18] {
  position: relative;
  width: 400px;
  height: 400px;
}
.vortex-circle[data-v-e7381a18] {
  position: absolute;
  border-radius: 50%;
  opacity: 0.6;
}
.vortex-1[data-v-e7381a18] {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.3), transparent);
  animation: rotate-e7381a18 20s linear infinite;
}
.vortex-2[data-v-e7381a18] {
  width: 280px;
  height: 280px;
  top: 60px;
  left: 60px;
  background: radial-gradient(circle, rgba(118, 75, 162, 0.4), transparent);
  animation: rotate-e7381a18 15s linear infinite reverse;
}
.vortex-3[data-v-e7381a18] {
  width: 160px;
  height: 160px;
  top: 120px;
  left: 120px;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.5), transparent);
  animation: rotate-e7381a18 10s linear infinite;
}
@keyframes rotate-e7381a18 {
from { transform: rotate(0deg);
}
to { transform: rotate(360deg);
}
}

/* Methods Section */
.methods-section[data-v-e7381a18] {
  padding: 4rem 2rem 6rem 2rem;
  background: #f8fafc;
}
.section-title[data-v-e7381a18] {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: #1e293b;
}
.methods-grid[data-v-e7381a18] {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.method-card[data-v-e7381a18] {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  border: 1px solid #e2e8f0;
}
.method-card[data-v-e7381a18]:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-color: #667eea;
}
.method-header[data-v-e7381a18] {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.method-icon[data-v-e7381a18] {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}
.method-header h3[data-v-e7381a18] {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}
.method-description[data-v-e7381a18] {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
}

/* Responsive */
@media (max-width: 968px) {
.hero-section[data-v-e7381a18] {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
    padding: 3rem 1.5rem;
}
.hero-content[data-v-e7381a18] {
    max-width: 100%;
}
.hero-actions[data-v-e7381a18] {
    justify-content: center;
}
.hero-title[data-v-e7381a18] {
    font-size: 2.5rem;
}
.hero-subtitle[data-v-e7381a18] {
    font-size: 1.125rem;
}
.vortex-animation[data-v-e7381a18] {
    width: 300px;
    height: 300px;
}
.vortex-1[data-v-e7381a18] { width: 300px; height: 300px;
}
.vortex-2[data-v-e7381a18] { width: 200px; height: 200px; top: 50px; left: 50px;
}
.vortex-3[data-v-e7381a18] { width: 100px; height: 100px; top: 100px; left: 100px;
}
.methods-section[data-v-e7381a18] {
    padding: 3rem 1.5rem 4rem 1.5rem;
}
.section-title[data-v-e7381a18] {
    font-size: 2rem;
}
.methods-grid[data-v-e7381a18] {
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
}
@media (max-width: 640px) {
.hero-title[data-v-e7381a18] {
    font-size: 2rem;
}
.btn-lg[data-v-e7381a18] {
    width: 100%;
}
}

.dim-toggle[data-v-0e597be5] {
  display: flex;
  gap: 0.5rem;
}
.dim-btn[data-v-0e597be5] {
  padding: 0.5rem 2rem;
  border-radius: 8px;
  border: 1.5px solid #e2e8f0;
  background: white;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  color: #64748b;
  transition: all 0.2s;
}
.dim-btn[data-v-0e597be5]:hover {
  border-color: #6366f1;
  color: #6366f1;
}
.dim-btn-active[data-v-0e597be5] {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-color: transparent;
  color: white;
}
.grid-pins[data-v-0e597be5] {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.grid-pin[data-v-0e597be5] {
  min-width: 72px;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1.5px solid #e2e8f0;
  background: white;
  color: #475569;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.grid-pin[data-v-0e597be5]:hover {
  border-color: #6366f1;
  color: #6366f1;
}
.grid-pin-active[data-v-0e597be5] {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-color: transparent;
  color: white;
  box-shadow: 0 8px 18px rgba(99, 102, 241, 0.22);
}
.form-actions[data-v-0e597be5] {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f1f5f9;
}

.validation-page[data-v-da25916c] {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
}
.page-header[data-v-da25916c] {
  margin-bottom: 2rem;
}
.page-title[data-v-da25916c] {
  font-size: 1.75rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 0.4rem;
}
.page-subtitle[data-v-da25916c] {
  color: #64748b;
  font-size: 0.95rem;
}

/* Params */
.params-grid[data-v-da25916c] {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.param-group label[data-v-da25916c] {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  color: #475569;
  margin-bottom: 0.35rem;
}
.input[data-v-da25916c] {
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color 0.2s;
}
.input[data-v-da25916c]:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}
.re-display[data-v-da25916c] {
  padding: 0.55rem 0.75rem;
  background: #f1f5f9;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  color: #6366f1;
}
.checkbox-row[data-v-da25916c] {
  display: flex;
  gap: 1.5rem;
}
.checkbox-label[data-v-da25916c] {
  display: flex !important;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500 !important;
  cursor: pointer;
}
.running-hint[data-v-da25916c] {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: #94a3b8;
}
.hint-text[data-v-da25916c] {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: #f59e0b;
}

/* Summary */
.summary-text[data-v-da25916c] {
  color: #64748b;
  font-size: 0.95rem;
}

/* Tables */
.data-table[data-v-da25916c] {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}
.data-table th[data-v-da25916c] {
  text-align: left;
  padding: 0.6rem 1rem;
  font-weight: 600;
  color: #475569;
  background: #f8fafc;
  border-bottom: 2px solid #e2e8f0;
}
.data-table td[data-v-da25916c] {
  padding: 0.55rem 1rem;
  border-bottom: 1px solid #f1f5f9;
  color: #1e293b;
}
.data-table-compact[data-v-da25916c] {
  max-width: 400px;
}
.mono[data-v-da25916c] {
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  font-size: 0.85rem;
}
.order-badge[data-v-da25916c] {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
}
.order-good[data-v-da25916c] {
  background: #dcfce7;
  color: #166534;
}
.order-ok[data-v-da25916c] {
  background: #fef9c3;
  color: #854d0e;
}
.order-bad[data-v-da25916c] {
  background: #fee2e2;
  color: #991b1b;
}

/* Plots */
.plot-wrap[data-v-da25916c] {
  margin-top: 1rem;
  text-align: center;
}
.plot-wrap img[data-v-da25916c] {
  max-width: 100%;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

/* Alerts */
.alert[data-v-da25916c] {
  padding: 1rem 1.25rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
}
.alert-error[data-v-da25916c] {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Badge */
.badge-success[data-v-da25916c] {
  background: #dcfce7;
  color: #166534;
}

/* Spinner */
.spinner[data-v-da25916c] {
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin-da25916c 0.6s linear infinite;
  display: inline-block;
}
.spinner-sm[data-v-da25916c] {
  width: 16px;
  height: 16px;
  margin-right: 6px;
}
@keyframes spin-da25916c {
to { transform: rotate(360deg);
}
}
@media (max-width: 768px) {
.params-grid[data-v-da25916c] {
    grid-template-columns: 1fr;
}
.validation-page[data-v-da25916c] {
    padding: 1rem;
}
}
