  :root { 
    --dark: #0f172a; --primary: #2563eb; --success: #10b981; 
    --border: #e2e8f0; --bg: #f8fafc; --slate: #64748b; 
  }
  
  body, html { margin: 0; padding: 0; background: var(--bg); font-family: sans-serif; }
  .master-control-center { display: flex; align-items: flex-start; }
  .master-sidebar { width: 280px; background: var(--dark); color: white; position: sticky; top: 0; height: 100vh; overflow-y: auto; flex-shrink: 0; z-index: 100; }
  .sidebar-header { padding: 24px; font-weight: 900; letter-spacing: 1px; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .nav-group-label { padding: 24px 24px 8px; font-size: 10px; color: var(--slate); font-weight: 800; text-transform: uppercase; }
  .nav-item { display: flex; align-items: center; gap: 12px; padding: 14px 24px; color: #94a3b8; background: none; border: none; cursor: pointer; width: 100%; text-align: left; font-size: 14px; font-weight: 500; }
  .nav-item.active { color: white; background: var(--primary); font-weight: 600; box-shadow: inset 4px 0 0 white; }

  .master-main { flex: 1; padding: 40px; min-width: 0; }
  .master-panel { display: none; }
  .master-panel.active { display: block; }
  .panel-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; border-bottom: 1px solid var(--border); padding-bottom: 20px; }
  .panel-title { font-size: 28px; font-weight: 800; color: var(--dark); margin: 0; }

  .panel-body { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
  .list-section { background: white; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
  .master-table { width: 100%; border-collapse: collapse; }
  .master-table th { padding: 16px 20px; text-align: left; background: #f8fafc; font-size: 12px; font-weight: 700; color: var(--slate); text-transform: uppercase; }
  .master-table td { padding: 16px 20px; border-bottom: 1px solid var(--border); font-size: 14px; }
  
  .dot { font-size: 10px; background: #eff6ff; color: var(--primary); padding: 3px 6px; border-radius: 4px; margin-right: 4px; font-weight: 700; }
  .code-badge { background: #f1f5f9; padding: 4px 8px; border-radius: 4px; font-family: monospace; font-size: 12px; color: #475569; }

  .form-section { position: sticky; top: 40px; }
  .form-card { background: white; border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); overflow: hidden; }
  .form-title { font-size: 16px; font-weight: 700; padding: 20px 24px; margin: 0; border-bottom: 1px solid var(--border); color: var(--dark); background: #f8fafc; }
  .card-body { padding: 24px; }
  .input-group { margin-bottom: 16px; background: #f8fafc; padding: 16px; border-radius: 8px; border: 1px solid var(--border); }
  .ja-group { background: #eff6ff; border-color: #dbeafe; }
  .input-group label { display: block; font-size: 12px; color: var(--slate); margin-bottom: 8px; font-weight: 600; text-transform: uppercase; }
  .master-input { width: 100%; padding: 12px; border: 1px solid var(--border); border-radius: 6px; box-sizing: border-box; font-size: 14px; }
  
  .form-actions { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 20px; }
  .action-btn { background: none; border: none; cursor: pointer; color: var(--slate); }