/**
 * Essential CSS – hybrid model
 * Load this file locally so layout and design work without internet.
 * When online, Tailwind CDN enhances; when offline, this keeps the page usable.
 */

/* -------------------------------------------------------------------------
   RESET & BASE
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #334155;
  background-color: #f8fafc;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* -------------------------------------------------------------------------
   COLOR PALETTE (match Tailwind / design)
   ------------------------------------------------------------------------- */
:root {
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --indigo-600: #4f46e5;
  --indigo-700: #4338ca;
  --industrial-accent: #06b6d4;
  --industrial-accent-hover: #0891b2;
  --red-500: #ef4444;
  --green-500: #22c55e;
  --green-600: #16a34a;
}

/* -------------------------------------------------------------------------
   LAYOUT UTILITIES
   ------------------------------------------------------------------------- */
.essential-container { max-width: 80rem; margin-left: auto; margin-right: auto; padding-left: 1rem; padding-right: 1rem; }
@media (min-width: 640px) { .essential-container { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .essential-container { padding-left: 2rem; padding-right: 2rem; } }
.essential-flex { display: flex; }
.essential-flex-col { flex-direction: column; }
.essential-items-center { align-items: center; }
.essential-justify-center { justify-content: center; }
.essential-justify-between { justify-content: space-between; }
.essential-flex-1 { flex: 1 1 0%; }
.essential-min-h-screen { min-height: 100vh; }
.essential-grid { display: grid; }
.essential-grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
@media (min-width: 768px) { .essential-grid-cols-md-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 768px) { .essential-grid-cols-md-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .essential-grid-cols-lg-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.essential-gap-4 { gap: 1rem; }
.essential-gap-6 { gap: 1.5rem; }
.essential-gap-8 { gap: 2rem; }
.essential-w-full { width: 100%; }
.essential-text-center { text-align: center; }
.essential-mx-auto { margin-left: auto; margin-right: auto; }
.essential-max-w-md { max-width: 28rem; }
.essential-max-w-2xl { max-width: 42rem; }
.essential-max-w-7xl { max-width: 80rem; }

/* -------------------------------------------------------------------------
   TYPOGRAPHY
   ------------------------------------------------------------------------- */
.essential-text-xs { font-size: 0.75rem; }
.essential-text-sm { font-size: 0.875rem; }
.essential-text-lg { font-size: 1.125rem; }
.essential-text-xl { font-size: 1.25rem; }
.essential-text-2xl { font-size: 1.5rem; }
.essential-text-3xl { font-size: 1.875rem; }
.essential-text-4xl { font-size: 2.25rem; }
@media (min-width: 768px) { .essential-text-6xl { font-size: 3.75rem; } }
.essential-font-medium { font-weight: 500; }
.essential-font-semibold { font-weight: 600; }
.essential-font-bold { font-weight: 700; }
.essential-text-slate-500 { color: var(--slate-500); }
.essential-text-slate-600 { color: var(--slate-600); }
.essential-text-slate-700 { color: var(--slate-700); }
.essential-text-slate-900 { color: var(--slate-900); }
.essential-text-blue-600 { color: var(--blue-600); }
.essential-text-indigo-600 { color: var(--indigo-600); }
.essential-text-green-600 { color: var(--green-600); }
.essential-text-red-700 { color: #b91c1c; }
.essential-tracking-tight { letter-spacing: -0.025em; }
.essential-mb-2 { margin-bottom: 0.5rem; }
.essential-mb-4 { margin-bottom: 1rem; }
.essential-mb-6 { margin-bottom: 1.5rem; }
.essential-mb-8 { margin-bottom: 2rem; }
.essential-mt-2 { margin-top: 0.5rem; }
.essential-mt-6 { margin-top: 1.5rem; }
.essential-mt-8 { margin-top: 2rem; }
.essential-mt-12 { margin-top: 3rem; }

/* -------------------------------------------------------------------------
   BUTTONS & LINKS
   ------------------------------------------------------------------------- */
.essential-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.5rem;
  font-weight: 600;
  color: #fff;
  background-color: var(--blue-600);
  border: none;
  border-radius: 0.75rem;
  transition: background-color 0.2s;
}
.essential-btn-primary:hover { background-color: var(--blue-700); }
.essential-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  font-weight: 600;
  color: var(--slate-900);
  background-color: #fff;
  border: 2px solid var(--slate-200);
  border-radius: 0.75rem;
  transition: border-color 0.2s, background-color 0.2s;
}
.essential-btn-secondary:hover { border-color: var(--slate-900); background-color: var(--slate-100); }
.essential-btn-indigo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.625rem 1rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: #fff;
  background-color: var(--indigo-600);
  border: none;
  border-radius: 0.5rem;
  transition: background-color 0.2s;
}
.essential-btn-indigo:hover { background-color: var(--indigo-700); }
.essential-link-indigo { color: var(--indigo-600); font-weight: 500; }
.essential-link-indigo:hover { text-decoration: underline; }

/* -------------------------------------------------------------------------
   CARDS & PANELS
   ------------------------------------------------------------------------- */
.essential-card {
  background-color: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 1rem;
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.essential-card:hover { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1); }
.essential-card-body { padding: 1.5rem; }
.essential-card-white {
  background-color: #fff;
  border: 1px solid var(--slate-100);
  border-radius: 1rem;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  padding: 2rem 1rem;
}
@media (min-width: 640px) { .essential-card-white { padding: 2rem 2.5rem; } }

/* -------------------------------------------------------------------------
   FORMS (Login & general)
   ------------------------------------------------------------------------- */
.essential-label { display: block; font-size: 0.875rem; font-weight: 500; color: var(--slate-700); margin-bottom: 0.25rem; }
.essential-input {
  display: block;
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: var(--slate-900);
  background-color: #fff;
  border: 1px solid var(--slate-300);
  border-radius: 0.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.essential-input::placeholder { color: var(--slate-400); }
.essential-input:focus {
  outline: none;
  border-color: var(--indigo-500);
  box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2);
}
.essential-input-with-icon { padding-left: 2.5rem; }
.essential-alert-error {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #b91c1c;
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}
.essential-alert-success {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #166534;
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}
.essential-checkbox { width: 1rem; height: 1rem; accent-color: var(--indigo-600); cursor: pointer; }
.essential-space-y-6 > * + * { margin-top: 1.5rem; }
.essential-space-y-8 > * + * { margin-top: 2rem; }

/* -------------------------------------------------------------------------
   INDEX / LANDING PAGE
   ------------------------------------------------------------------------- */
.essential-hero {
  background-color: #fff;
  padding-top: 5rem;
  padding-bottom: 4rem;
}
.essential-hero h1 { font-size: 2.25rem; font-weight: 700; color: var(--slate-900); margin-bottom: 1.5rem; line-height: 1.2; }
@media (min-width: 768px) { .essential-hero h1 { font-size: 3.75rem; } }
.essential-hero p { font-size: 1.125rem; color: var(--slate-600); max-width: 42rem; margin-left: auto; margin-right: auto; margin-bottom: 2rem; }
.essential-hero-buttons { display: flex; flex-wrap: wrap; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; margin-top: 1rem; }
@media (min-width: 768px) { .essential-hero-buttons { flex-direction: row; } }
.essential-section { padding-top: 5rem; padding-bottom: 5rem; }
.essential-section-alt { background-color: var(--slate-50); }
.essential-navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: rgba(255,255,255,0.95);
  border-bottom: 1px solid var(--slate-200);
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.05);
}
.essential-navbar-inner { height: 4rem; display: flex; align-items: center; justify-content: space-between; }
.essential-utility-bar {
  background-color: var(--slate-900);
  color: var(--slate-300);
  font-size: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--slate-800);
}
@media (max-width: 767px) { .essential-utility-bar { display: none; } }
.essential-section-title { font-size: 1.875rem; font-weight: 700; color: var(--slate-900); margin-bottom: 0.5rem; }
.essential-card-image-wrap { height: 12rem; overflow: hidden; }
.essential-card-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.essential-divider { display: flex; align-items: center; margin: 1.5rem 0; }
.essential-divider::before, .essential-divider::after { content: ''; flex: 1; height: 1px; background-color: var(--slate-200); }
.essential-divider span { padding: 0 0.5rem; font-size: 0.875rem; color: var(--slate-500); background-color: #fff; }

/* -------------------------------------------------------------------------
   LOGIN PAGE
   ------------------------------------------------------------------------- */
.essential-login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  position: relative;
}
.essential-login-home {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-400);
}
.essential-login-home:hover { color: var(--indigo-600); }
.essential-login-brand {
  text-align: center;
  margin-bottom: 2rem;
}
.essential-login-brand-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto;
  background-color: var(--indigo-600);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}
.essential-login-brand h2 { font-size: 1.875rem; font-weight: 700; color: var(--slate-900); margin-top: 1.5rem; }
.essential-login-brand p { font-size: 0.875rem; color: var(--slate-500); margin-top: 0.5rem; }
.essential-login-footer { text-align: center; font-size: 0.875rem; color: var(--slate-600); margin-top: 1.5rem; }
.essential-flex-between { display: flex; align-items: center; justify-content: space-between; }

/* -------------------------------------------------------------------------
   USER DASHBOARD
   ------------------------------------------------------------------------- */
.essential-dash-body {
  background-color: var(--slate-50);
  color: var(--slate-600);
  height: 100vh;
  display: flex;
  overflow: hidden;
  flex-direction: column;
}
@media (min-width: 1024px) { .essential-dash-body { flex-direction: row; } }
.essential-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 30;
  width: 15rem;
  background-color: #fff;
  border-right: 1px solid var(--slate-200);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s;
}
@media (min-width: 1024px) { .essential-sidebar { position: static; box-shadow: none; } }
.essential-sidebar-header {
  height: 3.5rem;
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
  border-bottom: 1px solid var(--slate-200);
  flex-shrink: 0;
}
.essential-sidebar-nav { flex: 1; overflow-y: auto; padding: 0.75rem 0.5rem; }
.essential-nav-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.125rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-500);
  border-radius: 0.375rem;
  border: 1px solid transparent;
  transition: color 0.2s, background-color 0.2s;
}
.essential-nav-item:hover { color: var(--slate-900); background-color: var(--slate-100); }
.essential-nav-item.active {
  background-color: var(--slate-100);
  color: var(--industrial-accent);
  border-color: var(--slate-200);
}
.essential-sidebar-footer {
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--slate-200);
  background-color: var(--slate-50);
  flex-shrink: 0;
}
.essential-main-wrap { flex: 1; display: flex; flex-direction: column; min-width: 0; position: relative; }
.essential-dash-header {
  height: 3.5rem;
  background-color: rgba(255,255,255,0.9);
  border-bottom: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  flex-shrink: 0;
  min-width: 0;
}
.essential-badge {
  font-size: 0.625rem;
  font-weight: 600;
  color: #fff;
  background-color: var(--red-500);
  padding: 0.125rem 0.375rem;
  border-radius: 9999px;
  border: 1px solid #dc2626;
}
.essential-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0,0,0,0.5);
  z-index: 20;
  transition: opacity 0.2s;
}
@media (min-width: 1024px) { .essential-overlay { display: none; } }
.essential-scrollbar-thin::-webkit-scrollbar { width: 6px; height: 6px; }
.essential-scrollbar-thin::-webkit-scrollbar-track { background: #f1f5f9; }
.essential-scrollbar-thin::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
.essential-font-mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }
.essential-text-industrial { color: var(--industrial-accent); }
.essential-selection-accent ::selection { background-color: var(--industrial-accent); color: #fff; }

/* -------------------------------------------------------------------------
   TAILWIND MIRROR (same class names – used when CDN is offline)
   ------------------------------------------------------------------------- */
/* Layout & display */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.flex-1 { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 0; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.min-h-screen { min-height: 100vh; }
.h-screen { height: 100vh; }
.w-full { width: 100%; }
.max-w-md { max-width: 28rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-7xl { max-width: 80rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.min-w-0 { min-width: 0; }
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.overflow-x-hidden { overflow-x: hidden; }
.relative { position: relative; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.absolute { position: absolute; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
/* Spacing */
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.pt-20 { padding-top: 5rem; }
.pb-16 { padding-bottom: 4rem; }
.pl-3 { padding-left: 0.75rem; }
.pl-10 { padding-left: 2.5rem; }
.pr-3 { padding-right: 0.75rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-12 { margin-top: 3rem; }
.ml-2 { margin-left: 0.5rem; }
.ml-4 { margin-left: 1rem; }
.ml-auto { margin-left: auto; }
/* Sizing */
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.w-60 { width: 15rem; }
/* Typography */
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.text-center { text-align: center; }
.tracking-tight { letter-spacing: -0.025em; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.antialiased { -webkit-font-smoothing: antialiased; }
/* Colors – background */
.bg-white { background-color: #fff; }
.bg-slate-50 { background-color: #f8fafc; }
.bg-slate-100 { background-color: #f1f5f9; }
.bg-slate-200 { background-color: #e2e8f0; }
.bg-slate-800 { background-color: #1e293b; }
.bg-slate-900 { background-color: #0f172a; }
.bg-blue-600 { background-color: #2563eb; }
.bg-indigo-600 { background-color: #4f46e5; }
.bg-red-50 { background-color: #fef2f2; }
.bg-red-500 { background-color: #ef4444; }
.bg-green-50 { background-color: #f0fdf4; }
.bg-emerald-50 { background-color: #ecfdf5; }
/* Colors – text */
.text-white { color: #fff; }
.text-slate-400 { color: #94a3b8; }
.text-slate-500 { color: #64748b; }
.text-slate-600 { color: #475569; }
.text-slate-700 { color: #334155; }
.text-slate-800 { color: #1e293b; }
.text-slate-900 { color: #0f172a; }
.text-blue-600 { color: #2563eb; }
.text-indigo-600 { color: #4f46e5; }
.text-red-700 { color: #b91c1c; }
.text-green-600 { color: #16a34a; }
.text-green-400 { color: #4ade80; }
.text-blue-400 { color: #60a5fa; }
/* Borders */
.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-t { border-top-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-r { border-right-width: 1px; }
.border-slate-100 { border-color: #f1f5f9; }
.border-slate-200 { border-color: #e2e8f0; }
.border-slate-300 { border-color: #cbd5e1; }
.border-slate-700 { border-color: #334155; }
.border-slate-800 { border-color: #1e293b; }
.border-red-200 { border-color: #fecaca; }
.border-red-600 { border-color: #dc2626; }
.border-green-200 { border-color: #bbf7d0; }
.border-transparent { border-color: transparent; }
.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-full { border-radius: 9999px; }
/* Effects */
.shadow-sm { box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25); }
/* Grid */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
@media (min-width: 640px) { .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 768px) { .md\:block { display: block; } .md\:flex { display: flex; } .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .md\:flex-row { flex-direction: row; } .md\:text-6xl { font-size: 3.75rem; } }
@media (min-width: 1024px) { .lg\:block { display: block; } .lg\:flex { display: flex; } .lg\:hidden { display: none; } .lg\:translate-x-0 { transform: translateX(0); } .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .lg\:gap-3 { gap: 0.75rem; } .lg\:px-5 { padding-left: 1.25rem; padding-right: 1.25rem; } .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; } .lg\:py-4 { padding-top: 1rem; padding-bottom: 1rem; } .lg\:shadow-none { box-shadow: none; } .lg\:text-lg { font-size: 1.125rem; } }
.hidden { display: none !important; }
/* Portfolio header: desktop menu must show from 768px (even when .hidden is used with Tailwind offline) */
.navbar-desktop-menu { display: none; }
@media (min-width: 768px) { .navbar-desktop-menu { display: flex !important; } }
.block { display: block; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.object-cover { object-fit: cover; }
.transition-all { transition: all 0.2s; }
.transition-colors { transition: color 0.2s, background-color 0.2s; }
.cursor-pointer { cursor: pointer; }
.select-none { user-select: none; }
.placeholder-slate-400::placeholder { color: #94a3b8; }
/* Industrial theme (dashboard) */
.text-industrial-accent { color: #06b6d4; }
.bg-industrial-accent { background-color: #06b6d4; }
/* Backdrop */
.backdrop-blur-sm { -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.backdrop-blur-md { -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.bg-white\/90 { background-color: rgba(255,255,255,0.9); }
.bg-white\/95 { background-color: rgba(255,255,255,0.95); }
.bg-black\/50 { background-color: rgba(0,0,0,0.5); }
/* Transform (sidebar) */
.-translate-x-full { transform: translateX(-100%); }
@media (min-width: 1024px) { .lg\:translate-x-0 { transform: translateX(0); } }
/* Focus */
.focus\:outline-none:focus { outline: none; }
.focus\:ring-2:focus { box-shadow: 0 0 0 2px currentColor; }
.focus\:ring-indigo-500:focus { box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.5); }
.focus\:border-indigo-500:focus { border-color: #4f46e5; }
.focus\:ring-offset-2:focus { outline-offset: 2px; }
/* Hover */
.hover\:bg-slate-50:hover { background-color: #f8fafc; }
.hover\:bg-slate-100:hover { background-color: #f1f5f9; }
.hover\:bg-blue-700:hover { background-color: #1d4ed8; }
.hover\:bg-indigo-700:hover { background-color: #4338ca; }
.hover\:text-white:hover { color: #fff; }
.hover\:text-slate-900:hover { color: #0f172a; }
.hover\:text-indigo-500:hover { color: #6366f1; }
.hover\:text-indigo-600:hover { color: #4f46e5; }
.hover\:text-red-500:hover { color: #ef4444; }
.hover\:underline:hover { text-decoration: underline; }
.hover\:border-slate-400:hover { border-color: #94a3b8; }
.hover\:border-slate-900:hover { border-color: #0f172a; }
.hover\:bg-slate-50:hover { background-color: #f8fafc; }
.hover\:bg-red-50:hover { background-color: #fef2f2; }
.hover\:shadow-xl:hover { box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1); }
.hover\:border-blue-400:hover { border-color: #60a5fa; }
.hover\:-translate-y-1:hover { transform: translateY(-0.25rem); }
/* Disabled */
.disabled\:opacity-70:disabled { opacity: 0.7; }
.disabled\:cursor-not-allowed:disabled { cursor: not-allowed; }
/* Padding responsive */
@media (min-width: 640px) { .sm\:px-10 { padding-left: 2.5rem; padding-right: 2.5rem; } }
/* Text size responsive */
@media (min-width: 640px) { .sm\:text-sm { font-size: 0.875rem; } }
/* Border focus */
.focus-within\:ring-2:focus-within { box-shadow: 0 0 0 2px currentColor; }
.focus-within\:ring-indigo-500:focus-within { box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.5); }
.focus-within\:border-indigo-500:focus-within { border-color: #4f46e5; }
/* Group (cards) */
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }
.group:hover .group-hover\:opacity-100 { opacity: 1; }
.group:hover .group-hover\:translate-x-0\.5 { transform: translateX(0.125rem); }
.opacity-0 { opacity: 0; }
.group:hover .group-hover\:text-sky-600 { color: #0284c7; }
.group:hover .group-hover\:text-emerald-600 { color: #059669; }
.group-focus-within\:text-sky-500:focus-within { color: #0ea5e9; }
.group-focus-within\:text-emerald-500:focus-within { color: #10b981; }
/* Shadow colors */
.shadow-blue-600\/20 { box-shadow: 0 10px 15px -3px rgb(37 99 235 / 0.2); }
.shadow-indigo-200 { box-shadow: 0 10px 15px -3px rgb(99 102 241 / 0.2); }
.shadow-sky-100 { box-shadow: 0 0 0 1px rgb(14 165 233 / 0.1); }
.shadow-sky-200 { box-shadow: 0 10px 15px -3px rgb(14 165 233 / 0.2); }
.shadow-emerald-100 { box-shadow: 0 0 0 1px rgb(16 185 129 / 0.1); }
/* Font mono */
.font-mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }
/* Selection */
.selection\:bg-industrial-accent ::selection { background-color: #06b6d4; }
.selection\:text-white ::selection { color: #fff; }
/* Duration */
.duration-300 { transition-duration: 0.3s; }
.duration-500 { transition-duration: 0.5s; }
/* Transform */
.transition-transform { transition: transform 0.2s; }
.transition-opacity { transition: opacity 0.2s; }
/* Sizing */
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.w-3 { width: 0.75rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.h-48 { height: 12rem; }
/* Uppercase */
.uppercase { text-transform: uppercase; }
.tracking-widest { letter-spacing: 0.1em; }
.tracking-wider { letter-spacing: 0.05em; }
/* Py */
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
/* Text 10px */
.text-\[10px\] { font-size: 10px; }
.text-\[9px\] { font-size: 9px; }
/* px */
.px-1 { padding-left: 0.25rem; padding-right: 0.25rem; }
.px-1\.5 { padding-left: 0.375rem; padding-right: 0.375rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
/* Rotate */
.rotate-3 { transform: rotate(3deg); }
.rotate-6 { transform: rotate(6deg); }
/* Grayscale */
.grayscale { filter: grayscale(100%); }
.opacity-70 { opacity: 0.7; }
/* Border radius */
.rounded-\[2rem\] { border-radius: 2rem; }
/* Leading */
.leading-relaxed { line-height: 1.625; }
/* Resize */
.resize-none { resize: none; }
/* Min height */
.max-h-24 { max-height: 6rem; }
/* Pointer events */
.pointer-events-none { pointer-events: none; }
/* Inset */
.inset-y-0 { top: 0; bottom: 0; }
/* Top/Right for absolute */
.top-4 { top: 1rem; }
.left-4 { left: 1rem; }
/* pr-4 */
.pr-4 { padding-right: 1rem; }
.pr-10 { padding-right: 2.5rem; }
/* h-4.5 w-4.5 - approximate */
.h-4\.5 { height: 1.125rem; }
.w-4\.5 { width: 1.125rem; }
/* sr-only */
.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; }
