:root {
  --color-slate-50: var(--bg);
  --color-slate-100: color-mix(in srgb, var(--panel) 85%, var(--bg));
  --color-slate-600: var(--muted);
  --color-slate-700: color-mix(in srgb, var(--text) 78%, var(--bg));
  --color-slate-800: color-mix(in srgb, var(--text) 88%, var(--bg));
  --color-slate-900: var(--text);
  --color-indigo-50: color-mix(in srgb, var(--brand) 12%, var(--panel));
  --color-indigo-600: var(--brand);
  --color-indigo-700: var(--brand-2);
  --color-gray-100: color-mix(in srgb, var(--text) 12%, #fff);
  --color-gray-500: var(--muted);
  --color-neutral-900: var(--text);
  --color-rose-500: #f43f5e;
  --shadow-elevated: 0 10px 25px color-mix(in srgb, var(--text) 10%, transparent);
}

body { font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }

.min-h-screen { min-height: 100vh; }
.bg-slate-50 { background-color: var(--color-slate-50); }
.bg-slate-700 { background-color: var(--color-slate-700); }
.bg-slate-800 { background-color: var(--color-slate-800); }
.bg-slate-900 { background-color: var(--color-slate-900); }
.bg-white { background-color: var(--panel); }
.bg-white\/60 { background-color: color-mix(in srgb, var(--panel) 60%, transparent); }
.bg-white\/70 { background-color: color-mix(in srgb, var(--panel) 70%, transparent); }
.bg-white\/90 { background-color: color-mix(in srgb, var(--panel) 90%, transparent); }
.bg-indigo-50 { background-color: var(--color-indigo-50); }
.bg-indigo-600 { background-color: var(--color-indigo-600); }
.bg-neutral-900\/80 { background-color: color-mix(in srgb, var(--text) 80%, transparent); }
.bg-slate-100 { background-color: var(--color-slate-100); }
.bg-gray-900\/60 { background-color: color-mix(in srgb, var(--text) 60%, transparent); }
.text-slate-900 { color: var(--color-slate-900); }
.text-slate-800 { color: var(--color-slate-800); }
.text-slate-700 { color: var(--color-slate-700); }
.text-slate-600 { color: var(--color-slate-600); }
.text-indigo-600 { color: var(--color-indigo-600); }
.text-indigo-700 { color: var(--color-indigo-700); }
.text-gray-200 { color: #e5e7eb; }
.text-gray-100 { color: var(--color-gray-100); }
.text-gray-500 { color: var(--color-gray-500); }
.text-gray-900 { color: var(--text); }
.text-white { color: #fff; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }

.max-w-xs { max-width: 20rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-6xl { max-width: 72rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.w-full { width: 100%; }
.w-4 { width: 1rem; }
.max-h-12 { max-height: 3rem; }
.w-24 { width: 6rem; }
.h-24 { height: 6rem; }
.max-w-24 { max-width: 6rem; }
.max-h-24 { max-height: 6rem; }
.flex-shrink-0 { flex-shrink: 0; }

.p-3 { padding: 0.75rem; }
.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }

.mr-auto { margin-right: auto; }
.mt-6 { margin-top: 1.5rem; }

.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.space-y-1 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.25rem; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem; }
.space-y-8 > :not([hidden]) ~ :not([hidden]) { margin-top: 2rem; }

.flex { display: flex; }
.inline-flex { display: inline-flex; }
.w-4 { width: 1rem; }
.h-4 { height: 1rem; }
.w-5 { width: 1.25rem; }
.h-5 { height: 1.25rem; }
.w-7 { width: 1.75rem; }
.h-7 { height: 1.75rem; }
.w-16 { width: 4rem; }
.h-16 { height: 4rem; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }

.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1280px) {
  .xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-md { border-radius: 0.375rem; }
.border { border-width: 1px; border-style: solid; border-color: var(--border); }
.border-gray-200 { border-color: var(--border); }
.border-gray-300 { border-color: var(--border); }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: color-mix(in srgb, var(--text) 22%, transparent); }
.border-dashed { border-style: dashed; }
.border-slate-200 { border-color: var(--border); }
.border-slate-300 { border-color: color-mix(in srgb, var(--border) 75%, var(--text)); }
.border-neutral-800\/70 { border-color: color-mix(in srgb, var(--text) 35%, transparent); }
.border-indigo-500 { border-color: var(--brand); }
.shadow { box-shadow: var(--shadow-elevated); }
.shadow-sm { box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); }

.list-disc { list-style-type: disc; }
.list-decimal { list-style-type: decimal; }
.pl-5 { padding-left: 1.25rem; }

.max-h-64 { max-height: 16rem; }
.min-h-\[160px\] { min-height: 160px; }
.min-h-\[240px\] { min-height: 240px; }
.min-h-\[280px\] { min-height: 280px; }
.object-cover { object-fit: cover; }
.bg-gray-100 { background-color: var(--panel); }
.dark .dark\:border-gray-800 { border-color: var(--border); }
.dark .dark\:border-gray-700 { border-color: var(--border); }
.dark .dark\:bg-gray-800 { background-color: color-mix(in srgb, var(--panel) 85%, var(--bg)); }
.dark .dark\:bg-gray-900\/60 { background-color: color-mix(in srgb, var(--text) 60%, transparent); }
.dark .dark\:bg-gray-900\/80 { background-color: color-mix(in srgb, var(--text) 80%, transparent); }
.dark .dark\:text-gray-100 { color: var(--color-gray-100); }

.hover\:underline:hover { text-decoration: underline; }
.hover\:bg-indigo-700:hover { background-color: var(--color-indigo-700); }
.hover\:bg-slate-100:hover { background-color: var(--color-slate-100); }
.hover\:border-indigo-400:hover { border-color: color-mix(in srgb, var(--brand) 80%, #fff); }
.hover\:text-indigo-700:hover { color: var(--color-indigo-700); }
.hover\:text-gray-700:hover { color: color-mix(in srgb, var(--text) 80%, var(--bg)); }

.underline { text-decoration: underline; }

.focus-visible\:outline:focus-visible { outline: 2px solid currentColor; }
.focus-visible\:outline-2:focus-visible { outline-width: 2px; }
.focus-visible\:outline-offset-2:focus-visible { outline-offset: 2px; }
.focus-visible\:outline-indigo-500:focus-visible { outline-color: #6366f1; }
.focus-visible\:outline-rose-500:focus-visible { outline-color: var(--color-rose-500); }

.rounded-lg, .rounded-xl, .rounded-2xl { transition: background-color 150ms ease, box-shadow 150ms ease; }
.backdrop-blur { backdrop-filter: blur(12px); }

.max-w-6xl > .w-full { width: 100%; }

.mx-auto, .max-w-6xl { width: 100%; }

#vmWorkspace.is-hidden { display: none; }

.vm-log__entry { padding: 0.25rem 0; }
.vm-log__entry.is-highlight { color: var(--color-indigo-700); font-weight: 600; }
.vm-start__error { color: #b91c1c; }

button { cursor: pointer; border: none; }
button:disabled { cursor: not-allowed; opacity: 0.6; }

.inline-flex.items-center.justify-center { display: inline-flex; align-items: center; justify-content: center; }


.primary-navigation { display: flex; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Responsive variants */
@media (min-width: 640px) {
  .sm\:hidden { display: none !important; }
  .sm\:flex { display: flex !important; }
}

@media (min-width: 768px) {
  .md\:flex-row { flex-direction: row; }
  .md\:items-center { align-items: center; }
  .md\:items-start { align-items: flex-start; }
  .md\:items-end { align-items: flex-end; }
  .md\:justify-between { justify-content: space-between; }
  .md\:p-8 { padding: 2rem; }
  .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .md\:text-right { text-align: right; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:w-auto { width: auto; }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:col-span-1 { grid-column: span 1 / span 1; }
  .lg\:col-span-2 { grid-column: span 2 / span 2; }
}
