:root {
  --sidebar: #0f172a;
  --sidebar-2: #1e293b;
  --accent: #14b8a6;
  --accent-2: #0d9488;
  --bg: #f1f5f9;
}
body { background: var(--bg); font-family: "Segoe UI", system-ui, sans-serif; }
.app-sidebar {
  width: 260px;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--sidebar), var(--sidebar-2));
  position: fixed;
  top: 0; left: 0; bottom: 0;
  overflow-y: auto;
  z-index: 1030;
}
.app-sidebar .brand {
  padding: 1.2rem 1.25rem;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.app-sidebar .brand .logo {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--accent); display: grid; place-items: center;
  font-weight: 800; color: #042f2e;
}
.app-sidebar a.nav-link {
  color: #cbd5e1;
  border-radius: 10px;
  padding: .55rem .85rem;
  margin: .15rem .75rem;
}
.app-sidebar a.nav-link:hover, .app-sidebar a.nav-link.active {
  background: rgba(20,184,166,.18);
  color: #fff;
}
.app-sidebar .section-label {
  color: #64748b; font-size: .72rem; letter-spacing: .08em;
  text-transform: uppercase; padding: .85rem 1.25rem .2rem;
}
.app-main { margin-left: 260px; min-height: 100vh; }
.app-topbar {
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  padding: .75rem 1.25rem;
  position: sticky; top: 0; z-index: 20;
}
.card { border: 0; box-shadow: 0 8px 24px rgba(15,23,42,.05); border-radius: 14px; }
.stat-card .icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; font-size: 1.2rem;
}
.table td, .table th { vertical-align: middle; }
.auth-wrap {
  min-height: 100vh;
  background: radial-gradient(1200px 600px at 10% -10%, #14b8a6 0%, transparent 40%),
              radial-gradient(900px 500px at 100% 0%, #0369a1 0%, transparent 45%),
              #0f172a;
}
.auth-card { max-width: 440px; border-radius: 18px; }
.page-title { font-weight: 700; letter-spacing: -.02em; }
.label-sheet { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.label-item {
  border: 1px dashed #94a3b8; border-radius: 10px; padding: 10px;
  text-align: center; background: #fff;
}
@media print {
  .app-sidebar, .app-topbar, .no-print { display: none !important; }
  .app-main { margin: 0 !important; }
}
@media (max-width: 991px) {
  .app-sidebar { transform: translateX(-100%); }
  .app-sidebar.show { transform: translateX(0); }
  .app-main { margin-left: 0; }
}
